Instance Method

refund(transactionId:)

Specify that the transaction will be processed as a Refund and provide a valid Transaction ID that has previously been processed as a Sale or Capture. The Amount must be provided.

Declaration

@discardableResult func refund(transactionId: UUID) -> TransactionBuilder

Return Value

The current TransactionBuilder instance for fluent access.

Parameters

s transactionId

The Transaction ID for the transaction to be refunded.