Class: RefundRequestMessage

remotemessage.RefundRequestMessage()

new RefundRequestMessage()

Source:

Extends

Methods

(static) RefundRequestMessage#getAmount() → {Number}

Get the field value Amount of refund. Used in partial refunds.
Source:
Returns:
must be a long integer
Type
Number

(static) RefundRequestMessage#getDisableCloverPrinting() → {Boolean}

Get the field value
Source:
Returns:
Type
Boolean

(static) RefundRequestMessage#getDisableReceiptSelection() → {Boolean}

Get the field value
Source:
Returns:
Type
Boolean

(static) RefundRequestMessage#getExtras() → {Object.<String, String>}

Get the field value Extra data used by external systems.
Source:
Returns:
A map of to <>
Type
Object.<String, String>

(static) RefundRequestMessage#getFullRefund() → {Boolean}

Get the field value If true, then it is a full refund. The amount will be ignored.
Source:
Returns:
Type
Boolean

(static) RefundRequestMessage#getOrderId() → {String}

Get the field value Unique identifier for a order
Source:
Returns:
Type
String

(static) RefundRequestMessage#getPaymentId() → {String}

Get the field value Unique identifier for a payment
Source:
Returns:
Type
String

(static) RefundRequestMessage#setAmount(amount)

Set the field value Amount of refund. Used in partial refunds.
Parameters:
Name Type Description
amount Number must be a long integer
Source:

(static) RefundRequestMessage#setDisableCloverPrinting(disableCloverPrinting)

Set the field value
Parameters:
Name Type Description
disableCloverPrinting Boolean
Source:

(static) RefundRequestMessage#setDisableReceiptSelection(disableReceiptSelection)

Set the field value
Parameters:
Name Type Description
disableReceiptSelection Boolean
Source:

(static) RefundRequestMessage#setExtras(extras)

Set the field value Extra data used by external systems.
Parameters:
Name Type Description
extras Object.<String, String> A map of to <>
Source:

(static) RefundRequestMessage#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) RefundRequestMessage#setOrderId(orderId)

Set the field value Unique identifier for a order
Parameters:
Name Type Description
orderId String
Source:

(static) RefundRequestMessage#setPaymentId(paymentId)

Set the field value Unique identifier for a payment
Parameters:
Name Type Description
paymentId String
Source: