STPPaymentIntentShippingDetailsParams
Objective-C
@interface STPPaymentIntentShippingDetailsParams
: NSObject <NSCopying, STPFormEncodable>
Swift
class STPPaymentIntentShippingDetailsParams : NSObject, NSCopying, STPFormEncodable
Shipping information for a PaymentIntent
-
Shipping address.
Declaration
Objective-C
@property (nonatomic) STPPaymentIntentShippingDetailsAddressParams *_Nonnull address;
Swift
var address: STPPaymentIntentShippingDetailsAddressParams { get set }
-
Recipient name.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull name;
Swift
var name: String { get set }
-
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *carrier;
Swift
var carrier: String? { get set }
-
Recipient phone (including extension).
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *phone;
Swift
var phone: String? { get set }
-
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, nullable) NSString *trackingNumber;
Swift
var trackingNumber: String? { get set }
-
Initialize an
STPPaymentIntentShippingDetailsParams
with required properties.Declaration
Objective-C
- (nonnull instancetype) initWithAddress: (nonnull STPPaymentIntentShippingDetailsAddressParams *)address name:(nonnull NSString *)name;
Swift
init(address: STPPaymentIntentShippingDetailsAddressParams, name: String)
-
Unavailable
Use
initWithAddress:name:
instead.Declaration
Objective-C
- (nonnull instancetype)init;