STPPaymentIntentShippingDetailsAddress
Objective-C
@interface STPPaymentIntentShippingDetailsAddress
: NSObject <STPAPIResponseDecodable>
Swift
class STPPaymentIntentShippingDetailsAddress : NSObject, STPAPIResponseDecodable
Shipping address for a PaymentIntent’s shipping details.
-
City/District/Suburb/Town/Village.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *city;
Swift
var city: String? { get }
-
Two-letter country code (ISO 3166-1 alpha-2).
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *country;
Swift
var country: String? { get }
-
Address line 1 (Street address/PO Box/Company name).
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *line1;
Swift
var line1: String? { get }
-
Address line 2 (Apartment/Suite/Unit/Building).
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *line2;
Swift
var line2: String? { get }
-
ZIP or postal code.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *postalCode;
Swift
var postalCode: String? { get }
-
State/County/Province/Region.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *state;
Swift
var state: String? { get }
-
Unavailable
You cannot directly instantiate an
STPPaymentIntentShippingDetailsAddress
. You should only use one that is part of an existingSTPPaymentMethod
object.Declaration
Objective-C
- (nonnull instancetype)init;