BTPostalAddress
@objcMembers
public class BTPostalAddress : NSObject
Generic postal address
-
Optional. Recipient name for shipping address.
Declaration
Swift
public var recipientName: String?
-
Line 1 of the Address (eg. number, street, etc).
Declaration
Swift
public var streetAddress: String?
-
Optional line 2 of the Address (eg. suite, apt #, etc.).
Declaration
Swift
public var extendedAddress: String?
-
City name
Declaration
Swift
public var locality: String?
-
2 letter country code.
Declaration
Swift
public var countryCodeAlpha2: String?
-
Zip code or equivalent is usually required for countries that have them. For a list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code.
Declaration
Swift
public var postalCode: String?
-
Either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
Declaration
Swift
public var region: String?