Address
public struct Address : Sendable
Address The residing address of the cardholder.
-
The address at which the cardholder resides.
Declaration
Swift
public let line1: String? -
Additional line for the address at which the cardholder resides.
Declaration
Swift
public let line2: String? -
The city in which the cardholder resides.
Declaration
Swift
public let city: String? -
The state in which the cardholder resides.
Declaration
Swift
public let state: String? -
The country in which the cardholder resides.
Declaration
Swift
public let country: String? -
The postal code for the address.
Declaration
Swift
public let postalCode: String? -
Initializes the
Address.Declaration
Swift
public init( line1: String? = nil, line2: String? = nil, city: String? = nil, state: String? = nil, country: String? = nil, postalCode: String? = nil )Parameters
line1The address at which the cardholder resides.
line2Additional line for the address at which the cardholder resides.
cityThe city in which the cardholder resides.
stateThe state in which the cardholder resides.
countryThe country in which the cardholder resides.
postalCodeThe postal code for the address.
Address Structure Reference