AddressElement

open class AddressElement(_identifier: IdentifierSpec, addressRepository: AddressRepository, rawValuesMap: Map<IdentifierSpec, String?> = emptyMap(), addressType: AddressType = AddressType.Normal(), countryCodes: Set<String> = emptySet(), countryDropdownFieldController: DropdownFieldController = DropdownFieldController( CountryConfig(countryCodes), rawValuesMap[IdentifierSpec.Country] ), sameAsShippingElement: SameAsShippingElement?, shippingValuesMap: Map<IdentifierSpec, String?>?) : SectionMultiFieldElement

Constructors

Link copied to clipboard
fun AddressElement(_identifier: IdentifierSpec, addressRepository: AddressRepository, rawValuesMap: Map<IdentifierSpec, String?> = emptyMap(), addressType: AddressType = AddressType.Normal(), countryCodes: Set<String> = emptySet(), countryDropdownFieldController: DropdownFieldController = DropdownFieldController( CountryConfig(countryCodes), rawValuesMap[IdentifierSpec.Country] ), sameAsShippingElement: SameAsShippingElement?, shippingValuesMap: Map<IdentifierSpec, String?>?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open override fun getTextFieldIdentifiers(): Flow<List<IdentifierSpec>>
Link copied to clipboard

This will return a controller that abides by the SectionFieldErrorController interface.

Link copied to clipboard
open override fun setRawValue(rawValuesMap: Map<IdentifierSpec, String?>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val identifier: IdentifierSpec
Link copied to clipboard

Inheritors

Link copied to clipboard