Package-level declarations

Types

Link copied to clipboard
data class ApplePayConfig(val merchantId: String = APPLE_MERCHANT_ID_SENTINEL, val merchantName: String = "kmp-toolkit Demo", val countryCode: String = "IN", val currencyCode: String = "INR", val supportedNetworks: Set<CardNetwork> = setOf(CardNetwork.VISA, CardNetwork.MASTERCARD, CardNetwork.AMEX, CardNetwork.DISCOVER))

Everything PKPaymentRequest needs, in commonMain so it is constructible and testable without PassKit.

Link copied to clipboard
class ApplePayGateway(config: ApplePayConfig = ApplePayConfig()) : WalletGateway

Apple Pay, through PassKit directly — there is no Apple Pay SDK to depend on, PKPaymentRequest and PKPaymentAuthorizationController are the integration.

Properties

Link copied to clipboard

The merchant identifier Apple issues, as a provisioning sentinel until somebody replaces it.