public class RefundPaymentRequest extends BaseRequest
Constructor and Description |
---|
RefundPaymentRequest() |
Modifier and Type | Method and Description |
---|---|
long |
getAmount()
Get the field value
|
boolean |
getDisablePrinting()
Get the field value
|
boolean |
getDisableReceiptSelection()
Get the field value
|
java.util.Map<java.lang.String,java.lang.String> |
getExtras()
Get the field value
|
java.lang.String |
getOrderId()
Get the field value
|
java.lang.String |
getPaymentId()
Get the field value
|
boolean |
isFullRefund()
Get the field value
|
void |
setAmount(long amount)
Set the field value
|
void |
setDisablePrinting(boolean disablePrinting)
Set the field value
|
void |
setDisableReceiptSelection(boolean disableReceiptSelection)
Set the field value
|
void |
setExtras(java.util.Map<java.lang.String,java.lang.String> extras)
Set the field value
|
void |
setFullRefund(boolean fullRefund)
Set the field value
|
void |
setOrderId(java.lang.String orderId)
Set the field value
|
void |
setPaymentId(java.lang.String paymentId)
Set the field value
|
public java.lang.String getOrderId()
public void setOrderId(java.lang.String orderId)
orderId
- unique identifier of the order to be refundedpublic java.lang.String getPaymentId()
public void setPaymentId(java.lang.String paymentId)
paymentId
- unique identifier of the payment to be refundedpublic long getAmount()
public void setAmount(long amount)
amount
- Amount to be refundedpublic boolean isFullRefund()
public void setFullRefund(boolean fullRefund)
fullRefund
- If true, then it is a full refund. The amount will be ignored.public boolean getDisablePrinting()
public void setDisablePrinting(boolean disablePrinting)
disablePrinting
- The transaction override to turn off Clover device printingpublic boolean getDisableReceiptSelection()
public void setDisableReceiptSelection(boolean disableReceiptSelection)
disableReceiptSelection
- The transaction override to turn off the Clover customer print screenpublic java.util.Map<java.lang.String,java.lang.String> getExtras()
public void setExtras(java.util.Map<java.lang.String,java.lang.String> extras)
extras
- Extra pass-through data used by external systems.