GooglePayConfiguration

@JsonClass(generateAdapter = true)
data class GooglePayConfiguration(val gateway: String, @Json(name = "gateway_merchant_id") val gatewayMerchantId: String, @Json(name = "country_code") val countryCode: String, @Json(name = "allowed_auth_methods") val allowedAuthMethods: Set<String>, @Json(name = "allowed_card_networks") val allowedCardNetworks: Set<String>, @Json(name = "allow_prepaid_cards") val allowPrepaidCards: Boolean, @Json(name = "allow_credit_cards") val allowCreditCards: Boolean)

Google Pay configuration. See CardParameters.

Parameters

gateway

Gateway identifier.

gatewayMerchantId

Gateway merchant ID.

countryCode

The ISO 3166-1 alpha-2 country code where the transaction is processed. This property is required for merchants who process transactions in European Economic Area (EEA) countries and any other countries that are subject to Strong Customer Authentication (SCA). Merchants must specify the acquirer bank country code.

allowedAuthMethods

Allowed card authentication methods.

allowedCardNetworks

Allowed card networks.

allowPrepaidCards

Set to false if you don't support prepaid cards.

allowCreditCards

Set to false if you don't support credit cards. Required for UK Gambling merchants.

Constructors

Link copied to clipboard
constructor(gateway: String, @Json(name = "gateway_merchant_id") gatewayMerchantId: String, @Json(name = "country_code") countryCode: String, @Json(name = "allowed_auth_methods") allowedAuthMethods: Set<String>, @Json(name = "allowed_card_networks") allowedCardNetworks: Set<String>, @Json(name = "allow_prepaid_cards") allowPrepaidCards: Boolean, @Json(name = "allow_credit_cards") allowCreditCards: Boolean)

Properties

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