SimulateReversalInput

public struct SimulateReversalInput : Equatable

Input to simulate a reversal request from a merchant.

Properties

  • Amount of reversal in merchant’s currency.

    Declaration

    Swift

    public var amount: Int
  • ID of previous successful authorization to which this reversal corresponds.

    Declaration

    Swift

    public var authorizationId: String

Lifecycle

  • Initialize an instance of SimulateReversalInput.

    Declaration

    Swift

    public init(amount: Int, authorizationId: String)