BillingAddressConfiguration

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

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.