Configuration
data class Configuration @JvmOverloads constructor(val appearance: PaymentSheet.Appearance = PaymentSheet.Appearance(), val address: AddressDetails? = null, val allowedCountries: Set<String> = emptySet(), val buttonTitle: String? = null, val additionalFields: AddressLauncher.AdditionalFieldsConfiguration? = null, val title: String? = null, val googlePlacesApiKey: String? = null, val autocompleteCountries: Set<String> = setOf(
"AU", "BE", "BR", "CA", "CH", "DE", "ES", "FR", "GB", "IE", "IT", "MX", "NO", "NL",
"PL", "RU", "SE", "TR", "US", "ZA"
)) : Parcelable
Configuration for AddressLauncher
Constructors
Link copied to clipboard
fun Configuration(appearance: PaymentSheet.Appearance = PaymentSheet.Appearance(), address: AddressDetails? = null, allowedCountries: Set<String> = emptySet(), buttonTitle: String? = null, additionalFields: AddressLauncher.AdditionalFieldsConfiguration? = null, title: String? = null, googlePlacesApiKey: String? = null, autocompleteCountries: Set<String> = setOf(
"AU", "BE", "BR", "CA", "CH", "DE", "ES", "FR", "GB", "IE", "IT", "MX", "NO", "NL",
"PL", "RU", "SE", "TR", "US", "ZA"
))
Types
Link copied to clipboard
class Builder
Configuration builder for cleaner object creation from Java.