AddressSpec
data class AddressSpec( val apiPath: IdentifierSpec = IdentifierSpec.Generic("billing_details[address]"), val allowedCountryCodes: Set<String> = supportedBillingCountries, val displayFields: Set<DisplayField> = emptySet(), val showLabel: Boolean = true, val type: AddressType = AddressType.Normal()) : FormItemSpec
Content copied to clipboard
Constructors
Link copied to clipboard
fun AddressSpec( apiPath: IdentifierSpec = IdentifierSpec.Generic("billing_details[address]"), allowedCountryCodes: Set<String> = supportedBillingCountries, displayFields: Set<DisplayField> = emptySet(), showLabel: Boolean = true, type: AddressType = AddressType.Normal())
Content copied to clipboard
Functions
Link copied to clipboard
fun transform(initialValues: Map<IdentifierSpec, String?>, addressRepository: AddressFieldElementRepository): SectionElement
Content copied to clipboard