AccountAddress

public struct AccountAddress : AddressModel, Codable

Account address model.

  • Alviere’s unique ID for the address.

    Declaration

    Swift

    public var addressUuid: String
  • The account uuid.

    Declaration

    Swift

    public var accountUuid: String?
  • The unique identifier of the address in your own system.

    Declaration

    Swift

    public var externalId: String?
  • When adding an address to an account, this property determines whether this is the primary address to perform KYC/Identity management on. Only a primary address triggers address validation. Can’t be updated.

    Declaration

    Swift

    public var isPrimary: Bool
  • The description of the address.

    Declaration

    Swift

    public var label: String
  • Address line 1 (e.g., street, PO Box, or company name).

    Declaration

    Swift

    public var lineOne: String
  • Address line 2 (e.g., apartment, suite, unit, or building).

    Declaration

    Swift

    public var lineTwo: String?
  • ZIP or postal code.

    Declaration

    Swift

    public var postalCode: String
  • City, district, suburb, town, or village.

    Declaration

    Swift

    public var city: String
  • State, county, province, or region.

    Declaration

    Swift

    public var state: String?
  • Three-letter country code (ISO 3166-1 alpha-3). The keys can be mapped from Country if you want type safety.

    Declaration

    Swift

    public var country: String