action
TypeScriptget action(): Promise<PKPayLaterAction>Swift declarationvar action: PKPayLaterAction { get set }class · iOS 17.0+ · SDK 27.1
class PKPayLaterViewget action(): Promise<PKPayLaterAction>Swift declarationvar action: PKPayLaterAction { get set }setAction(value: PKPayLaterAction): Promise<void>Swift declarationvar action: PKPayLaterAction { get set }get delegate(): Promise<SDKHandle>Swift declarationunowned(unsafe) var delegate: any PKPayLaterViewDelegate { get set }setDelegate(value: Implements<PKPayLaterViewDelegate> | SDKHandle): Promise<void>Swift declarationunowned(unsafe) var delegate: any PKPayLaterViewDelegate { get set }get displayStyle(): Promise<PKPayLaterDisplayStyle>Swift declarationvar displayStyle: PKPayLaterDisplayStyle { get set }setDisplayStyle(value: PKPayLaterDisplayStyle): Promise<void>Swift declarationvar displayStyle: PKPayLaterDisplayStyle { get set }static init(amount: _Foundation_Decimal, currency: _Foundation_Locale_Currency): Promise<PKPayLaterView>Swift declaration@MainActor @preconcurrency convenience init(amount: Decimal, currency: Locale.Currency)Constructs a view displaying Pay Later Merchandising information given a configuration - Parameters: - amount: The users bag price or item pricing - currency: The ISO 4217 code for the country or region of the merchant’s principle place of business.
get amount(): Promise<_Foundation_Decimal>Swift declaration@MainActor @preconcurrency var amount: Decimal { get set }The users bag price or item pricing
setAmount(value: _Foundation_Decimal): Promise<void>Swift declaration@MainActor @preconcurrency var amount: Decimal { get set }The users bag price or item pricing
get currency(): Promise<_Foundation_Locale_Currency>Swift declaration@MainActor @preconcurrency var currency: Locale.Currency { get set }The ISO 4217 code for the country or region of the merchant’s principle place of business.
setCurrency(value: _Foundation_Locale_Currency): Promise<void>Swift declaration@MainActor @preconcurrency var currency: Locale.Currency { get set }The ISO 4217 code for the country or region of the merchant’s principle place of business.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PKPayLaterView.init()
inherited init: cannot prove legal (class declares 1 custom initializer)