Class RefundPaymentRequest
java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.RefundPaymentRequest
Request object to refund a payment, either partially or fully
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the field valuebooleanGet the field valuebooleanGet the field valueGet the field valueGet the field valueGet the field valuebooleanGet the field valuevoidsetAmount(long amount) Set the field valuevoidsetDisablePrinting(boolean disablePrinting) Set the field valuevoidsetDisableReceiptSelection(boolean disableReceiptSelection) Set the field valuevoidSet the field valuevoidsetFullRefund(boolean fullRefund) Set the field valuevoidsetOrderId(String orderId) Set the field valuevoidsetPaymentId(String paymentId) Set the field value
-
Constructor Details
-
RefundPaymentRequest
public RefundPaymentRequest()
-
-
Method Details
-
getOrderId
Get the field value- Returns:
- unique identifier of the order to be refunded
-
setOrderId
Set the field value- Parameters:
orderId- unique identifier of the order to be refunded
-
getPaymentId
Get the field value- Returns:
- unique identifier of the payment to be refunded
-
setPaymentId
Set the field value- Parameters:
paymentId- unique identifier of the payment to be refunded
-
getAmount
public long getAmount()Get the field value- Returns:
- Amount to be refunded
-
setAmount
public void setAmount(long amount) Set the field value- Parameters:
amount- Amount to be refunded
-
isFullRefund
public boolean isFullRefund()Get the field value- Returns:
- If true, then it is a full refund. The amount will be ignored.
-
setFullRefund
public void setFullRefund(boolean fullRefund) Set the field value- Parameters:
fullRefund- If true, then it is a full refund. The amount will be ignored.
-
getDisablePrinting
public boolean getDisablePrinting()Get the field value- Returns:
- The disablePrinting transaction override value
-
setDisablePrinting
public void setDisablePrinting(boolean disablePrinting) Set the field value- Parameters:
disablePrinting- The transaction override to turn off Clover device printing
-
getDisableReceiptSelection
public boolean getDisableReceiptSelection()Get the field value- Returns:
- The disableReceiptSelection transaction override value
-
setDisableReceiptSelection
public void setDisableReceiptSelection(boolean disableReceiptSelection) Set the field value- Parameters:
disableReceiptSelection- The transaction override to turn off the Clover customer print screen
-
getExtras
Get the field value- Returns:
- Extra pass-through data used by external systems.
-
setExtras
Set the field value- Parameters:
extras- Extra pass-through data used by external systems.
-