PODynamicCheckoutPaymentMethod

Types

Link copied to clipboard

Dynamic checkout alternative payment configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AlternativePaymentConfiguration(@Json(name = "gateway_configuration_id") val gatewayConfigurationId: String, @Json(name = "redirect_url") val redirectUrl: String?)

Alternative payment configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AlternativePaymentCustomerToken(val display: PODynamicCheckoutPaymentMethod.Display, @Json(name = "apm_customer_token") val configuration: PODynamicCheckoutPaymentMethod.CustomerTokenConfiguration) : PODynamicCheckoutPaymentMethod

Dynamic checkout tokenized alternative payment configuration. This payment method was previously saved by the customer.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BillingAddressConfiguration(@Json(name = "collection_mode") val collectionMode: POBillingAddressCollectionMode, @Json(name = "restrict_to_country_codes") val restrictToCountryCodes: Set<String>?)

Billing address configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Card(val display: PODynamicCheckoutPaymentMethod.Display, @Json(name = "card") val configuration: PODynamicCheckoutPaymentMethod.CardConfiguration) : PODynamicCheckoutPaymentMethod

Dynamic checkout card payment configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CardConfiguration(@Json(name = "cvc_required") val cvcRequired: Boolean, @Json(name = "cardholder_name_required") val cardholderNameRequired: Boolean, @Json(name = "scheme_selection_allowed") val schemeSelectionAllowed: Boolean, @Json(name = "billing_address") val billingAddress: PODynamicCheckoutPaymentMethod.BillingAddressConfiguration, @Json(name = "saving_allowed") val savingAllowed: Boolean)

Card payment configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CardCustomerToken(val display: PODynamicCheckoutPaymentMethod.Display, @Json(name = "card_customer_token") val configuration: PODynamicCheckoutPaymentMethod.CustomerTokenConfiguration) : PODynamicCheckoutPaymentMethod

Dynamic checkout tokenized card payment configuration. This payment method was previously saved by the customer.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CustomerTokenConfiguration(@Json(name = "customer_token_id") val customerTokenId: String, @Json(name = "redirect_url") val redirectUrl: String?)

Customer token payment configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Display(val name: String, val logo: POImageResource, @Json(name = "brand_color") val brandColor: POColor)

UI configuration.

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum Flow : Enum<PODynamicCheckoutPaymentMethod.Flow>

Dynamic checkout payment flow types.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class GooglePay(@Json(name = "googlepay") val configuration: PODynamicCheckoutPaymentMethod.GooglePayConfiguration) : PODynamicCheckoutPaymentMethod

Dynamic checkout Google Pay configuration.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class GooglePayConfiguration(val gateway: String, @Json(name = "gateway_merchant_id") val gatewayMerchantId: 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.

Link copied to clipboard

Unknown dynamic checkout configuration.