BillingDetailsCollectionConfiguration
data class BillingDetailsCollectionConfiguration(val name: PaymentSheet.BillingDetailsCollectionConfiguration.CollectionMode = CollectionMode.Automatic, val phone: PaymentSheet.BillingDetailsCollectionConfiguration.CollectionMode = CollectionMode.Automatic, val email: PaymentSheet.BillingDetailsCollectionConfiguration.CollectionMode = CollectionMode.Automatic, val address: PaymentSheet.BillingDetailsCollectionConfiguration.AddressCollectionMode = AddressCollectionMode.Automatic, val attachDefaultsToPaymentMethod: Boolean = false) : Parcelable
Configuration for how billing details are collected during checkout.
Constructors
Link copied to clipboard
constructor(name: PaymentSheet.BillingDetailsCollectionConfiguration.CollectionMode = CollectionMode.Automatic, phone: PaymentSheet.BillingDetailsCollectionConfiguration.CollectionMode = CollectionMode.Automatic, email: PaymentSheet.BillingDetailsCollectionConfiguration.CollectionMode = CollectionMode.Automatic, address: PaymentSheet.BillingDetailsCollectionConfiguration.AddressCollectionMode = AddressCollectionMode.Automatic, attachDefaultsToPaymentMethod: Boolean = false)
Types
Link copied to clipboard
enum AddressCollectionMode : Enum<PaymentSheet.BillingDetailsCollectionConfiguration.AddressCollectionMode>
Billing address collection options.
Link copied to clipboard
Billing details fields collection options.
Properties
Link copied to clipboard
How to collect the billing address.
Link copied to clipboard
Whether the values included in PaymentSheet.Configuration.defaultBillingDetails should be attached to the payment method, this includes fields that aren't displayed in the form.
Link copied to clipboard
How to collect the email field.
Link copied to clipboard
How to collect the name field.
Link copied to clipboard
How to collect the phone field.