public class RefundRequest extends TransactionRequest
RefundResponse
Constructor and Description |
---|
RefundRequest()
Constructor.
|
RefundRequest(int currencyId,
long totalAmount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTransactionReference() |
void |
setTransactionReference(java.lang.String transactionReference)
Sets the reference to a previous transaction that should be refunded.
|
getCurrencyId, getDisabledFeatures, getLoyaltyApplications, getPaymentMethod, getSaleId, getTotalAmount, setCurrencyId, setDisabledFeatures, setLoyaltyApplications, setPaymentMethod, setSaleId, setTotalAmount
public RefundRequest()
public RefundRequest(int currencyId, long totalAmount)
currencyId
- The preferred currency of the transaction.totalAmount
- The total amount of the transaction.public java.lang.String getTransactionReference()
public void setTransactionReference(java.lang.String transactionReference)
This is not used for normal refunds with payment cards, but it is required for refunds using alternative payment methods.
transactionReference
- The transaction id of a previous transaction.TransactionRequest.setPaymentMethod(java.lang.String)
,
TransactionResponse.getTransactionId()