Address

public struct Address : Sendable

Address The residing address of the cardholder.

  • The address at which the cardholder resides.

    Declaration

    Swift

    public let line1: String?
  • Additional line for the address at which the cardholder resides.

    Declaration

    Swift

    public let line2: String?
  • The city in which the cardholder resides.

    Declaration

    Swift

    public let city: String?
  • The state in which the cardholder resides.

    Declaration

    Swift

    public let state: String?
  • The country in which the cardholder resides.

    Declaration

    Swift

    public let country: String?
  • The postal code for the address.

    Declaration

    Swift

    public let postalCode: String?
  • Initializes the Address.

    Declaration

    Swift

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

    Parameters

    line1

    The address at which the cardholder resides.

    line2

    Additional line for the address at which the cardholder resides.

    city

    The city in which the cardholder resides.

    state

    The state in which the cardholder resides.

    country

    The country in which the cardholder resides.

    postalCode

    The postal code for the address.