SimulateDebitInput

public struct SimulateDebitInput : Equatable

Simulate a settlement of an authorized amount. Other attributes of the debit such as merchant info are derived from the original authorization identified by the authorizationId.

Properties

  • Amount of transaction in merchant’s currency.

    Declaration

    Swift

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

    Declaration

    Swift

    public var authorizationId: String

Lifecycle

  • Initialize an instance of InstanceSimulateDebitInput.

    Declaration

    Swift

    public init(amount: Int, authorizationId: String)