STPPaymentMethodAddress
@interface STPPaymentMethodAddress
: NSObject <STPAPIResponseDecodable, STPFormEncodable>
The billing address, a property on STPPaymentMethodBillingDetails
-
City/District/Suburb/Town/Village.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *city;
Swift
var city: String? { get set }
-
2-letter country code.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *country;
Swift
var country: String? { get set }
-
Address line 1 (Street address/PO Box/Company name).
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *line1;
Swift
var line1: String? { get set }
-
Address line 2 (Apartment/Suite/Unit/Building).
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *line2;
Swift
var line2: String? { get set }
-
ZIP or postal code.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *postalCode;
Swift
var postalCode: String? { get set }
-
State/County/Province/Region.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *state;
Swift
var state: String? { get set }