CoarseAddress

protocol CoarseAddress

A protocol that defines the properties that a coarse address needs to have. Note: Coarse addresses are going to be deprecated soon, in favor of portable addresses. We still need to keep this protocol and some of its implementations around because some GQL responses coming from the server haven’t migrated to portable format yet.

  • City

    Declaration

    Swift

    var city: String? { get }
  • Country

    Declaration

    Swift

    var country: String? { get }
  • The full address

    Declaration

    Swift

    var fullAddress: String { get }
  • First line

    Declaration

    Swift

    var line1: String? { get }
  • Second line

    Declaration

    Swift

    var line2: String? { get }
  • Postal Code

    Declaration

    Swift

    var postalCode: String? { get }
  • State

    Declaration

    Swift

    var state: String? { get }