STPPaymentIntentShippingDetailsAddressParams

public class STPPaymentIntentShippingDetailsAddressParams : NSObject
extension STPPaymentIntentShippingDetailsAddressParams: STPFormEncodable
extension STPPaymentIntentShippingDetailsAddressParams: NSCopying

Shipping address for a PaymentIntent’s shipping details.

  • City/District/Suburb/Town/Village.

    Declaration

    Swift

    @objc
    public var city: String?
  • Two-letter country code (ISO 3166-1 alpha-2).

    Declaration

    Swift

    @objc
    public var country: String?
  • Address line 1 (Street address/PO Box/Company name).

    Declaration

    Swift

    @objc
    public var line1: String
  • Address line 2 (Apartment/Suite/Unit/Building).

    Declaration

    Swift

    @objc
    public var line2: String?
  • ZIP or postal code.

    Declaration

    Swift

    @objc
    public var postalCode: String?
  • State/County/Province/Region.

    Declaration

    Swift

    @objc
    public var state: String?
  • Declaration

    Swift

    @objc
    public var additionalAPIParameters: [AnyHashable : Any]
  • Initialize an STPPaymentIntentShippingDetailsAddressParams instance with required properties.

    Declaration

    Swift

    @objc
    public init(line1: String)

STPFormEncodable