PaymentSourceProxy

public struct PaymentSourceProxy : Equatable, Codable, Hashable

Represents a payment source proxy.

  • id

    The unique identifier of the payment source proxy.

    Declaration

    Swift

    public let id: String
  • The type of the payment source proxy.

    Declaration

    Swift

    public let type: PaymentSourceProxyType
  • The value associated with the payment source proxy.

    Declaration

    Swift

    public let value: String
  • HAL links associated with the payment source proxy.

    Declaration

    Swift

    public let links: PaymentSourceProxyLinks?
  • Initializes a payment source proxy with the provided properties.

    Declaration

    Swift

    public init(
        id: String,
        type: PaymentSourceProxyType = .phoneNumber,
        value: String,
        links: PaymentSourceProxyLinks? = nil
    )

    Parameters

    id

    The unique identifier of the payment source proxy.

    type

    The type of the payment source proxy.

    value

    The value associated with the payment source proxy.

    links

    HAL links associated with the payment source proxy.

  • Represents HAL links associated with a payment source proxy.

    See more

    Declaration

    Swift

    struct PaymentSourceProxyLinks : Codable, Equatable, Hashable