STPPaymentIntentShippingDetails
Objective-C
@interface STPPaymentIntentShippingDetails : NSObject <STPAPIResponseDecodable>
Swift
class STPPaymentIntentShippingDetails : NSObject, STPAPIResponseDecodable
Shipping information for a PaymentIntent
-
Shipping address.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) STPPaymentIntentShippingDetailsAddress *address;
Swift
var address: STPPaymentIntentShippingDetailsAddress? { get }
-
Recipient name.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *name;
Swift
var name: String? { get }
-
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *carrier;
Swift
var carrier: String? { get }
-
Recipient phone (including extension).
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *phone;
Swift
var phone: String? { get }
-
The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *trackingNumber;
Swift
var trackingNumber: String? { get }
-
Unavailable
You cannot directly instantiate an
STPPaymentIntentShippingDetails
. You should only use one that is part of an existingSTPPaymentMethod
object.Declaration
Objective-C
- (nonnull instancetype)init;