AwaitAction

public struct AwaitAction : PaymentDataAware, Decodable

Describes an action in which the SDK is waiting for user action.

  • The paymentMethodType for which the await action is used.

    Declaration

    Swift

    public let paymentMethodType: AwaitPaymentMethod
  • The server-generated payment data that should be submitted to the /payments/details endpoint.

    Declaration

    Swift

    public let paymentData: String
  • Initializes a redirect action.

    Declaration

    Swift

    public init(paymentData: String, paymentMethodType: AwaitPaymentMethod)

    Parameters

    paymentData

    The server-generated payment data that should be submitted to the /payments/details endpoint.

    paymentMethodType

    The paymentMethodType for which the await action is used.