One Logo Pool Ball
PassKit · IOS API REFERENCE

PKPayLater

enum · iOS 17.0+ · SDK 27.1

@frozen enum PKPayLater

Members (1)

static · iOS 17.0+

validate

TypeScript
static validate(amount: _Foundation_Decimal, currency: _Foundation_Locale_Currency): Promise<boolean>
Swift declaration
static func validate(amount: Decimal, currency: Locale.Currency) async -> Bool

Checks if a Pay Later Merchandising information can be displayed for the given values - 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.

Skipped declarations

No declarations were skipped in this snapshot.

All PassKit types →