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]
), sameAsShippingController: SameAsShippingController?) : SectionMultiFieldElement
Content copied to clipboard
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]
), sameAsShippingController: SameAsShippingController?)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open override fun getFormFieldValueFlow(): Flow<List<Pair<IdentifierSpec, FormFieldEntry>>>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun sectionFieldErrorController(): SectionFieldErrorController
Content 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?>)
Content copied to clipboard