Address
public struct Address : Equatable
Representation of a Mailing/Street Address used in Platform SDK.
-
First line of the address.
Declaration
Swift
public let addressLine1: String
-
Second line of the address.
Declaration
Swift
public let addressLine2: String?
-
City of the address.
Declaration
Swift
public let city: String
-
State of the address.
Declaration
Swift
public let state: String
-
Postal code of the address.
Declaration
Swift
public let postalCode: String
-
Country of the address.
Declaration
Swift
public let country: String
-
Initialize an instance of
Address
.Declaration
Swift
public init(addressLine1: String, addressLine2: String? = nil, city: String, state: String, postalCode: String, country: String)