Address
open class Address : Codable
Represents a Address
in Moltin
-
The ID of this address
Declaration
Swift
public var id: String?
-
The type of this object
Declaration
Swift
public let type: String
-
The first name for the person at this address
Declaration
Swift
public var firstName: String
-
The last name for the person at this address
Declaration
Swift
public var lastName: String
-
The display name of this address
Declaration
Swift
public var name: String?
-
The delivery instructions for this address
Declaration
Swift
public var instructions: String?
-
The company name at this address
Declaration
Swift
public var companyName: String?
-
The first line for this address
Declaration
Swift
public var line1: String?
-
The second line for this address
Declaration
Swift
public var line2: String?
-
The city for this address
Declaration
Swift
public var city: String?
-
The county for this address
Declaration
Swift
public var county: String?
-
The postcode for this address
Declaration
Swift
public var postcode: String?
-
The country for this address
Declaration
Swift
public var country: String?
-
Create a new address with first name and last name
Declaration
Swift
public init( withFirstName firstName: String, withLastName lastName: String)