One Logo Pool Ball
StoreKit · IOS API REFERENCE

SKPayment

class · iOS 3.0+ · Deprecated in iOS 18.0 · SDK 27.1

class SKPayment

Members (7)

init · iOS 3.0+ · Deprecated in iOS 18.0

init

TypeScript
static init(product: SKProduct): SKPayment
Swift declaration
convenience init(product: SKProduct)
get · iOS 7.0+ · Deprecated in iOS 18.0

applicationUsername

TypeScript
get applicationUsername(): (string) | null
Swift declaration
var applicationUsername: String? { get }
get · iOS 12.2+ · Deprecated in iOS 18.0

paymentDiscount

TypeScript
get paymentDiscount(): (SKPaymentDiscount) | null
Swift declaration
@NSCopying var paymentDiscount: SKPaymentDiscount? { get }
get · iOS 3.0+ · Deprecated in iOS 18.0

productIdentifier

TypeScript
get productIdentifier(): string
Swift declaration
var productIdentifier: String { get }
get · iOS 3.0+ · Deprecated in iOS 18.0

quantity

TypeScript
get quantity(): number
Swift declaration
var quantity: Int { get }
get · iOS 3.0+ · Deprecated in iOS 18.0

requestData

TypeScript
get requestData(): (ArrayBuffer) | null
Swift declaration
var requestData: Data? { get }
get · iOS 8.3+ · Deprecated in iOS 18.0

simulatesAskToBuyInSandbox

TypeScript
get simulatesAskToBuyInSandbox(): boolean
Swift declaration
var simulatesAskToBuyInSandbox: Bool { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SKPayment.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All StoreKit types →