STPPaymentIntentShippingDetailsAddress
public class STPPaymentIntentShippingDetailsAddress : NSObject
extension STPPaymentIntentShippingDetailsAddress: STPAPIResponseDecodable
Shipping address for a PaymentIntent’s shipping details.
You cannot directly instantiate an STPPaymentIntentShippingDetailsAddress
.
You should only use one that is part of an existing STPPaymentMethod
object.
-
City/District/Suburb/Town/Village.
Declaration
Swift
@objc public let city: String?
-
Two-letter country code (ISO 3166-1 alpha-2).
Declaration
Swift
@objc public let country: String?
-
Address line 1 (Street address/PO Box/Company name).
Declaration
Swift
@objc public let line1: String?
-
Address line 2 (Apartment/Suite/Unit/Building).
Declaration
Swift
@objc public let line2: String?
-
ZIP or postal code.
Declaration
Swift
@objc public let postalCode: String?
-
State/County/Province/Region.
Declaration
Swift
@objc public let state: String?
-
Declaration
Swift
@objc public class func decodedObject(fromAPIResponse response: [AnyHashable : Any]?) -> `Self`?