STPConnectAccountAddress

@interface STPConnectAccountAddress : NSObject <STPFormEncodable>

An address to use with STPConnectAccountParams.

  • City, district, suburb, town, or village.

    For addresses in Japan: City or ward.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *city;

    Swift

    var city: String? { get set }
  • Two-letter country code (ISO 3166-1 alpha-2).

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *country;

    Swift

    var country: String? { get set }
  • Address line 1 (e.g., street, PO Box, or company name).

    For addresses in Japan: Block or building number.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *line1;

    Swift

    var line1: String? { get set }
  • Address line 2 (e.g., apartment, suite, unit, or building).

    For addresses in Japan: Building details.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *line2;

    Swift

    var line2: String? { get set }
  • ZIP or postal code.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *postalCode;

    Swift

    var postalCode: String? { get set }
  • State, county, province, or region.

    For addresses in Japan: Prefecture.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *state;

    Swift

    var state: String? { get set }
  • Town or cho-me.

    This property only applies to Japanese addresses.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *town;

    Swift

    var town: String? { get set }