CountrySpec

data class CountrySpec(val apiPath: IdentifierSpec = IdentifierSpec.Country, val allowedCountryCodes: Set<String> = supportedBillingCountries) : FormItemSpec

This is the specification for a country field.

Constructors

Link copied to clipboard
fun CountrySpec(apiPath: IdentifierSpec = IdentifierSpec.Country, allowedCountryCodes: Set<String> = supportedBillingCountries)

Functions

Link copied to clipboard

Properties

Link copied to clipboard

: a list of country code that should be shown. If empty all countries will be shown.

Link copied to clipboard
open override val apiPath: IdentifierSpec