ODWAddressProtocol

@objc
public protocol ODWAddressProtocol : NSObjectProtocol

Represents an address.

  • The conbined contents of the addressee’s Street and Apt. or Suite billing address fields

    Declaration

    Swift

    @objc
    var street: String { get }
  • The city of the addressee

    Declaration

    Swift

    @objc
    var city: String { get }
  • The state of the addressee

    Declaration

    Swift

    @objc
    var state: String { get }
  • The postal or zip code

    Declaration

    Swift

    @objc
    var postalCode: String { get }
  • The country

    Declaration

    Swift

    @objc
    var country: String { get }
  • The two digit ISO country code using ISO 3166-1 alpha-2 standard

    Declaration

    Swift

    @objc
    var countryCode: String { get }
  • The subadministrative area (such as a county or other region) in the postal address

    Declaration

    Swift

    @objc
    var administrativeArea: String { get }
  • Additional information associated with the location, typically defined at the city or town level, in a postal address.

    Declaration

    Swift

    @objc
    var locality: String { get }