OPAddressProtocol

@objc
public protocol OPAddressProtocol : 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 two digit ISO country code using ISO 3166-1 alpha-2 standard

    Declaration

    Swift

    @objc
    var countryCode: String { get }