PayoutMethodAddress
public struct PayoutMethodAddress : Codable, Sendable
Address model.
-
Address line 1 (e.g., street, PO Box, or company name - NOTE that newline characters are not accepted).
Declaration
Swift
public var lineOne: String?
-
Address line 2 (e.g., apartment, suite, unit, or building - NOTE that newline characters are not accepted).
Declaration
Swift
public var lineTwo: String?
-
ZIP or postal code.
Declaration
Swift
public var postalCode: String?
-
City, district, suburb, town, or village.
Declaration
Swift
public var city: String
-
State, county, province, or region.
Declaration
Swift
public var state: String?
-
Auxiliary constructor
Declaration
Swift
public init(city: String, lineOne: String? = nil, lineTwo: String? = nil, postalCode: String? = nil, state: String? = nil)
Parameters
city
City, district, suburb, town, or village.
lineOne
Address line 1.
lineTwo
Address line 2. Defaults to
nil
.postalCode
ZIP or postal code.
state
State, county, province, or region.