init
TypeScriptstatic init(): SKMutablePaymentSwift declarationinit()class · iOS 3.0+ · Deprecated in iOS 18.0 · SDK 27.1
class SKMutablePaymentstatic init(): SKMutablePaymentSwift declarationinit()get applicationUsername(): (string) | nullSwift declarationvar applicationUsername: String? { get set }set applicationUsername(value: (string) | null)Swift declarationvar applicationUsername: String? { get set }get paymentDiscount(): (SKPaymentDiscount) | nullSwift declaration@NSCopying var paymentDiscount: SKPaymentDiscount? { get set }set paymentDiscount(value: (SKPaymentDiscount) | null)Swift declaration@NSCopying var paymentDiscount: SKPaymentDiscount? { get set }get productIdentifier(): stringSwift declarationvar productIdentifier: String { get set }set productIdentifier(value: string)Swift declarationvar productIdentifier: String { get set }get quantity(): numberSwift declarationvar quantity: Int { get set }set quantity(value: number)Swift declarationvar quantity: Int { get set }get requestData(): (ArrayBuffer) | nullSwift declarationvar requestData: Data? { get set }set requestData(value: (ArrayBuffer) | null)Swift declarationvar requestData: Data? { get set }get simulatesAskToBuyInSandbox(): booleanSwift declarationvar simulatesAskToBuyInSandbox: Bool { get set }set simulatesAskToBuyInSandbox(value: boolean)Swift declarationvar simulatesAskToBuyInSandbox: Bool { get set }No declarations were skipped in this snapshot.