STPPaymentIntentShippingDetails
public class STPPaymentIntentShippingDetails : NSObject
extension STPPaymentIntentShippingDetails: STPAPIResponseDecodable
Shipping information for a PaymentIntent
You cannot directly instantiate an STPPaymentIntentShippingDetails
.
You should only use one that is part of an existing STPPaymentMethod
object.
-
Shipping address.
Declaration
Swift
@objc public let address: STPPaymentIntentShippingDetailsAddress?
-
Recipient name.
Declaration
Swift
@objc public let name: String?
-
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
Declaration
Swift
@objc public let carrier: String?
-
Recipient phone (including extension).
Declaration
Swift
@objc public let phone: String?
-
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
Swift
@objc public let trackingNumber: String?
-
Declaration
Swift
@objc public class func decodedObject(fromAPIResponse response: [AnyHashable : Any]?) -> `Self`?