new RefundPaymentRequest()
- Source:
Extends
Methods
(static) RefundPaymentRequest#getAmount() → {Number|Null}
Get the field value
Amount to be refunded
- Source:
Returns:
must be a long integer,
- Type
- Number | Null
(static) RefundPaymentRequest#getDisablePrinting() → {Boolean|Null}
Get the field value
If true, then do not print using the clover printer. Return print information.
Returns:
- Type
- Boolean | Null
(static) RefundPaymentRequest#getDisableReceiptSelection() → {Boolean|Null}
Get the field value
Do not show the receipt options screen
Returns:
- Type
- Boolean | Null
(static) RefundPaymentRequest#getExtras() → {Object.<String, String>}
Get the field value
Extra pass-through data used by external systems.
Returns:
A map of to <>
- Type
- Object.<String, String>
(static) RefundPaymentRequest#getFullRefund() → {Boolean}
Get the field value
If true, then it is a full refund. The amount will be ignored.
- Source:
Returns:
- Type
- Boolean
(static) RefundPaymentRequest#getOrderId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) RefundPaymentRequest#getPaymentId() → {String}
Get the field value
Unique identifier
Returns:
- Type
- String
(static) RefundPaymentRequest#setAmount(amount)
Set the field value
Amount to be refunded
Parameters:
Name | Type | Description |
---|---|---|
amount |
Number | Null | must be a long integer, |
- Source:
(static) RefundPaymentRequest#setDisablePrinting(disablePrinting)
Set the field value
If true, then do not print using the clover printer. Return print information.
Parameters:
Name | Type | Description |
---|---|---|
disablePrinting |
Boolean | Null |
(static) RefundPaymentRequest#setDisableReceiptSelection(disableReceiptSelection)
Set the field value
Do not show the receipt options screen
Parameters:
Name | Type | Description |
---|---|---|
disableReceiptSelection |
Boolean | Null |
(static) RefundPaymentRequest#setExtras(extras)
Set the field value
Extra pass-through data used by external systems.
Parameters:
Name | Type | Description |
---|---|---|
extras |
Object.<String, String> | A map of |
(static) RefundPaymentRequest#setFullRefund(fullRefund)
Set the field value
If true, then it is a full refund. The amount will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
fullRefund |
Boolean |
- Source:
(static) RefundPaymentRequest#setOrderId(orderId)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
orderId |
String |
- Source:
(static) RefundPaymentRequest#setPaymentId(paymentId)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
paymentId |
String |