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
cityCity, district, suburb, town, or village.
lineOneAddress line 1.
lineTwoAddress line 2. Defaults to
nil.postalCodeZIP or postal code.
stateState, county, province, or region.
View on GitHub