new VoidPaymentMessage()
Extends
Methods
(static) VoidPaymentMessage#getDisableCloverPrinting() → {Boolean}
Get the field value
Returns:
- Type
- Boolean
(static) VoidPaymentMessage#getDisableReceiptSelection() → {Boolean}
Get the field value
Returns:
- Type
- Boolean
(static) VoidPaymentMessage#getExtras() → {Object.<String, String>}
Get the field value
Extra data used by external systems.
Returns:
A map of to <>
- Type
- Object.<String, String>
(static) VoidPaymentMessage#getPayment() → {payments.Payment}
Get the field value
A payment
Returns:
- Type
- payments.Payment
(static) VoidPaymentMessage#getVoidReason() → {order.VoidReason}
Get the field value
Returns:
- Type
- order.VoidReason
(static) VoidPaymentMessage#setDisableCloverPrinting(disableCloverPrinting)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
disableCloverPrinting |
Boolean |
(static) VoidPaymentMessage#setDisableReceiptSelection(disableReceiptSelection)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
disableReceiptSelection |
Boolean |
(static) VoidPaymentMessage#setExtras(extras)
Set the field value
Extra data used by external systems.
Parameters:
Name | Type | Description |
---|---|---|
extras |
Object.<String, String> | A map of |
(static) VoidPaymentMessage#setPayment(payment)
Set the field value
A payment
Parameters:
Name | Type | Description |
---|---|---|
payment |
payments.Payment |
(static) VoidPaymentMessage#setVoidReason(voidReason)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
voidReason |
order.VoidReason |