ReversalRequest

class ReversalRequest(currencyId: Int = 0, totalAmount: Long = 0, saleId: String = "", loyaltyApplications: Array<String> = emptyArray(), paymentMethod: String = "") : TransactionRequest

Represents a reversal transaction request.

Constructors

Link copied to clipboard
fun ReversalRequest(currencyId: Int = 0, totalAmount: Long = 0, saleId: String = "", loyaltyApplications: Array<String> = emptyArray(), paymentMethod: String = "")

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setCurrencyId(value: Int)
Link copied to clipboard
Link copied to clipboard
fun setLoyaltyApplications(applications: Array<String>)
Link copied to clipboard
open fun setPaymentMethod(paymentMethod: String)

Specifies that a specific payment method should be used in this transaction.

Link copied to clipboard
fun setSaleId(value: String)
Link copied to clipboard
fun setTotalAmount(value: Long)