RefundRequest

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

Represents a refund transaction request.

See also

Constructors

Link copied to clipboard
fun RefundRequest(currencyId: Int = 0, totalAmount: Long = 0, saleId: String = "", loyaltyApplications: Array<String> = emptyArray(), paymentMethod: String = "", transactionReference: 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
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)
Link copied to clipboard
fun setTransactionReference(transactionReference: String)

Sets the reference to a previous transaction that should be refunded.