AddressSpec
@Serializable
Constructors
Link copied to clipboard
constructor(apiPath: IdentifierSpec = IdentifierSpec.Generic("billing_details[address]"), allowedCountryCodes: Set<String> = CountryUtils.supportedBillingCountries, displayFields: Set<DisplayField> = emptySet(), showLabel: Boolean = true, type: AddressType = AddressType.Normal(), hideCountry: Boolean = false)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This field is not deserialized, it is used for the special case where the address element shouldn't show country.
Link copied to clipboard
This field is not deserialized, this field is used for the Address Element
Functions
Link copied to clipboard
Link copied to clipboard
fun transform(initialValues: Map<IdentifierSpec, String?>, shippingValues: Map<IdentifierSpec, String?>?): SectionElement?
Link copied to clipboard