STPConnectAccountAddress

public class STPConnectAccountAddress : NSObject
extension STPConnectAccountAddress: STPFormEncodable

An address to use with STPConnectAccountParams.

  • City, district, suburb, town, or village. For addresses in Japan: City or ward.

    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 (e.g., street, PO Box, or company name). For addresses in Japan: Block or building number.

    Declaration

    Swift

    @objc
    public var line1: String?
  • Address line 2 (e.g., apartment, suite, unit, or building). For addresses in Japan: Building details.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public var postalCode: String?
  • State, county, province, or region. For addresses in Japan: Prefecture.

    Declaration

    Swift

    @objc
    public var state: String?
  • Town or cho-me. This property only applies to Japanese addresses.

    Declaration

    Swift

    @objc
    public var town: String?

STPFormEncodable