POCardTokenizationViewComponentConfiguration

constructor(cvcRequired: Boolean = true, cardholderNameRequired: Boolean = true, cardScanner: POCardTokenizationConfiguration.CardScannerConfiguration? = null, preferredScheme: POCardTokenizationConfiguration.PreferredSchemeConfiguration? = PreferredSchemeConfiguration(), billingAddress: POCardTokenizationConfiguration.BillingAddressConfiguration = BillingAddressConfiguration(), savingAllowed: Boolean = false, submitButton: POCardTokenizationConfiguration.Button? = Button(), cancelButton: POCardTokenizationConfiguration.CancelButton? = CancelButton(), metadata: Map<String, String>? = null, style: POCardTokenizationConfiguration.Style? = null)

Parameters

cvcRequired

Specifies whether the CVC field should be displayed. Default value is true.

cardholderNameRequired

Specifies whether the cardholder name field should be displayed. Default value is true.

cardScanner

Card scanner configuration. Use null to hide, this is a default behaviour.

preferredScheme

Preferred scheme selection configuration. Shows scheme selection if co-scheme is available. Use null to hide.

billingAddress

Allows to customize the collection of billing address.

savingAllowed

Displays checkbox that allows to save the card details for future payments.

submitButton

Submit button configuration. Use null to hide.

cancelButton

Cancel button configuration. Use null to hide.

metadata

Metadata related to the card.

style

Allows to customize the look and feel.