One Logo Pool Ball
PassKit · IOS API REFERENCE

PKPayLaterView

class · iOS 17.0+ · SDK 27.1

class PKPayLaterView

Members (11)

get · iOS 17.0+

action

TypeScript
get action(): Promise<PKPayLaterAction>
Swift declaration
var action: PKPayLaterAction { get set }
set · iOS 17.0+

action

TypeScript
setAction(value: PKPayLaterAction): Promise<void>
Swift declaration
var action: PKPayLaterAction { get set }
get · iOS 17.0+

delegate

TypeScript
get delegate(): Promise<SDKHandle>
Swift declaration
unowned(unsafe) var delegate: any PKPayLaterViewDelegate { get set }
set · iOS 17.0+

delegate

TypeScript
setDelegate(value: Implements<PKPayLaterViewDelegate> | SDKHandle): Promise<void>
Swift declaration
unowned(unsafe) var delegate: any PKPayLaterViewDelegate { get set }
get · iOS 17.0+

displayStyle

TypeScript
get displayStyle(): Promise<PKPayLaterDisplayStyle>
Swift declaration
var displayStyle: PKPayLaterDisplayStyle { get set }
set · iOS 17.0+

displayStyle

TypeScript
setDisplayStyle(value: PKPayLaterDisplayStyle): Promise<void>
Swift declaration
var displayStyle: PKPayLaterDisplayStyle { get set }
init · iOS 17.0+

init

TypeScript
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 · iOS 17.0+

amount

TypeScript
get amount(): Promise<_Foundation_Decimal>
Swift declaration
@MainActor @preconcurrency var amount: Decimal { get set }

The users bag price or item pricing

set · iOS 17.0+

amount

TypeScript
setAmount(value: _Foundation_Decimal): Promise<void>
Swift declaration
@MainActor @preconcurrency var amount: Decimal { get set }

The users bag price or item pricing

get · iOS 17.0+

currency

TypeScript
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.

set · iOS 17.0+

currency

TypeScript
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.

Skipped declarations

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)

All PassKit types →