CardConfiguration

@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.

Parameters

cvcRequired

Defines whether the card CVC should be collected.

cardholderNameRequired

Defines whether the cardholder name should be collected.

schemeSelectionAllowed

Defines whether the user will be asked to select the scheme if co-scheme is available.

billingAddress

Card billing address configuration.

savingAllowed

Defines whether saving of the payment method is allowed.

Constructors

Link copied to clipboard
constructor(@Json(name = "cvc_required") cvcRequired: Boolean, @Json(name = "cardholder_name_required") cardholderNameRequired: Boolean, @Json(name = "scheme_selection_allowed") schemeSelectionAllowed: Boolean, @Json(name = "billing_address") billingAddress: PODynamicCheckoutPaymentMethod.BillingAddressConfiguration, @Json(name = "saving_allowed") savingAllowed: Boolean)

Properties