Address
public struct Address
Address object for card transactions
The Address object stores information around the address that is related to a card
-
Line one of the address
Declaration
Swift
public let line1: String? -
Line two of the address
Declaration
Swift
public let line2: String? -
Line three of the address
Declaration
Swift
public let line3: String? -
Town of the address
Declaration
Swift
public let town: String? -
Post code of the address
Declaration
Swift
public let postCode: String? -
Billing country of the address
Declaration
Swift
public let country: BillingCountry? -
Designated initializer
Declaration
Swift
public init(line1: String? = nil, line2: String? = nil, line3: String? = nil, town: String? = nil, postCode: String? = nil, country: BillingCountry? = nil)Parameters
line1line one
line2line two
line3line three
towntown
postCodepost code
countrycountry
Return Value
an address object
Address Struct Reference