-
A two-letter ISO 3166-1 alpha-2 country code
Declaration
Swift
public let countryCode: String -
State, if applicable
Declaration
Swift
public let state: String -
City
Declaration
Swift
public let city: String -
First line of the address
Declaration
Swift
public let streetLine1: String -
Second line of the address
Declaration
Swift
public let streetLine2: String -
Address postal code
Declaration
Swift
public let postalCode: String -
Describes an address
Declaration
Swift
public init(countryCode: String, state: String, city: String, streetLine1: String, streetLine2: String, postalCode: String)Parameters
countryCodeA two-letter ISO 3166-1 alpha-2 country code
stateState, if applicable
cityCity
streetLine1First line of the address
streetLine2Second line of the address
postalCodeAddress postal code
View on GitHub
Install in Dash
Address Structure Reference