STPPaymentIntentShippingDetails

@interface STPPaymentIntentShippingDetails : NSObject <STPAPIResponseDecodable>

Shipping information for a PaymentIntent

  • Shipping address.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) STPPaymentIntentShippingDetailsAddress *address;

    Swift

    var address: STPPaymentIntentShippingDetailsAddress? { get }
  • Recipient name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, 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 (readonly, copy, nonatomic, nullable) NSString *carrier;

    Swift

    var carrier: String? { get }
  • Recipient phone (including extension).

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, 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 (readonly, copy, nonatomic, 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 existing STPPaymentMethod object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;