BillingAddressConfiguration

data class BillingAddressConfiguration(val mode: POCardTokenizationConfiguration.BillingAddressConfiguration.CollectionMode = CollectionMode.Automatic, val countryCodes: Set<String>? = null, val defaultAddress: POContact? = null, val attachDefaultsToPaymentMethod: Boolean = false) : Parcelable

Defines billing address configuration.

Parameters

mode

Defines how to collect the billing address. Default value is CollectionMode.Automatic.

countryCodes

Set of ISO country codes that is supported for the billing address. When null, all countries are provided.

defaultAddress

Default address information.

attachDefaultsToPaymentMethod

Specifies whether the defaultAddress values should be attached to the card, including fields that aren't displayed in the form.

Constructors

Link copied to clipboard
constructor(mode: POCardTokenizationConfiguration.BillingAddressConfiguration.CollectionMode = CollectionMode.Automatic, countryCodes: Set<String>? = null, defaultAddress: POContact? = null, attachDefaultsToPaymentMethod: Boolean = false)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val countryCodes: Set<String>? = null
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)