PaymentSourceProxyLinks

public struct PaymentSourceProxyLinks : Codable, Equatable, Hashable

Represents HAL links associated with the source proxy.

  • The link for the source proxy.

    Declaration

    Swift

    public let linksSelf: ResponseLink
  • The link for resending OTP (One-Time Password), only available if the source proxy is unverified.

    Declaration

    Swift

    public let resendOtp: ResponseLink?
  • The link for responding to a challenge, only available if the source proxy is unverified.

    Declaration

    Swift

    public let respondToChallenge: ResponseLink?
  • The link to the payment source profile, only available if the source proxy is linked to a payment source.

    Declaration

    Swift

    public let paymentSourceProfile: ResponseLink?
  • Initializes an instance of PaymentSourceProxyLinks.

    Declaration

    Swift

    public init(
        linksSelf: ResponseLink,
        resendOtp: ResponseLink?,
        respondToChallenge: ResponseLink?,
        paymentSourceProfile: ResponseLink?
    )

    Parameters

    linksSelf

    The link for the source proxy.

    resendOtp

    The link for resending OTP.

    respondToChallenge

    The link for responding to a challenge.

    paymentSourceProfile

    The link to the payment source profile.

  • Provides a stub instance of AddContactItemResponse.InstrumentProxyLinks for testing purposes.

    Declaration

    Swift

    static let stub: AddContactItemResponse.PaymentSourceProxyLinks