AddressSpec
data class AddressSpec( val apiPath: IdentifierSpec = IdentifierSpec.Generic("billing_details[address]"), val allowedCountryCodes: Set<String> = supportedBillingCountries, val displayFields: Set<DisplayField> = emptySet()) : 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())
Content copied to clipboard
Functions
Link copied to clipboard
fun transform(initialValues: Map<IdentifierSpec, String?>, addressRepository: AddressFieldElementRepository): SectionElement
Content copied to clipboard