AddressConfiguration

Configuration class for Address Form in Card Component. This class can be used define the visibility of the address form.

Inheritors

Types

Link copied to clipboard

Configuration for requirement of the address fields.

Link copied to clipboard
data class FullAddress(val defaultCountryCode: String? = null, val supportedCountryCodes: List<String> = emptyList(), val addressFieldPolicy: AddressConfiguration.CardAddressFieldPolicy = CardAddressFieldPolicy.Required()) : AddressConfiguration

Full Address Form will be shown as part of the card component.

Link copied to clipboard

Address Lookup option will be shown as part of card component.

Link copied to clipboard

Address Form will be hidden.

Link copied to clipboard
data class PostalCode(val addressFieldPolicy: AddressConfiguration.CardAddressFieldPolicy = CardAddressFieldPolicy.Required()) : AddressConfiguration

Only postal code will be shown as part of the card component.

Functions

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