WalletMerchantConfig

data class WalletMerchantConfig(val merchantId: String, val merchantName: String, val countryCode: String, val currencyCode: String, val supportedNetworks: Set<CardNetwork>)(source)

The merchant identity a wallet transaction is presented under.

merchantId is the one field that cannot be invented: Apple Pay needs a merchant.* identifier issued by the Apple Developer portal, Google Pay needs the PSP's gateway merchant id. Both ship as __PROVISION_*__ sentinels, which is what isProvisioned detects.

Constructors

Link copied to clipboard
constructor(merchantId: String, merchantName: String, countryCode: String, currencyCode: String, supportedNetworks: Set<CardNetwork>)

Properties

Link copied to clipboard

ISO-3166-1 alpha-2 country of the merchant, e.g. IN, US.

Link copied to clipboard

ISO-4217 currency the summary item is priced in, e.g. INR, USD.

Link copied to clipboard

False while merchantId is still an unreplaced provisioning sentinel.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard