Address

public struct Address : StripeCodable

The billing address, a property sent in a PaymentMethod response

  • The first line of the user’s street address (e.g. “123 Fake St”)

    Declaration

    Swift

    public var line1: String?
  • The apartment, floor number, etc of the user’s street address (e.g. “Apartment 1A”)

    Declaration

    Swift

    public var line2: String?
  • The city in which the user resides (e.g. “San Francisco”)

    Declaration

    Swift

    public var city: String?
  • The state in which the user resides (e.g. “CA”)

    Declaration

    Swift

    public var state: String?
  • The postal code in which the user resides (e.g. “90210”)

    Declaration

    Swift

    public var postalCode: String?
  • The ISO country code of the address (e.g. “US”)

    Declaration

    Swift

    public var country: String?
  • Declaration

    Swift

    public var _additionalParametersStorage: NonEncodableParameters?
  • Declaration

    Swift

    public var _allResponseFieldsStorage: NonEncodableParameters?