Address

public struct Address : Codable, Equatable

A generic structure of an address used in DexcareSDK

  • 1st line of an address

    Declaration

    Swift

    public var line1: String
  • 2nd line of an address if one exists

    Declaration

    Swift

    public var line2: String?
  • City of the address

    Declaration

    Swift

    public var city: String
  • State of the address - usually in abbreviated form

    Declaration

    Swift

    public var state: String
  • Zip Code of the address - usually in 5 digit form

    Declaration

    Swift

    public var postalCode: String
  • Undocumented

    Declaration

    Swift

    public init(
        line1: String,
        line2: String?,
        city: String,
        state: String,
        postalCode: String
    )