new RefundRequestMessage()
Extends
Methods
(static) RefundRequestMessage#getAmount() → {Number}
Get the field value
Amount of refund. Used in partial refunds.
Returns:
must be a long integer
- Type
- Number
(static) RefundRequestMessage#getFullRefund() → {Boolean}
Get the field value
If true, then it is a full refund. The amount will be ignored.
Returns:
- Type
- Boolean
(static) RefundRequestMessage#getOrderId() → {String}
Get the field value
Unique identifier for a order
Returns:
- Type
- String
(static) RefundRequestMessage#getPaymentId() → {String}
Get the field value
Unique identifier for a payment
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 |
(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 |
(static) RefundRequestMessage#setOrderId(orderId)
Set the field value
Unique identifier for a order
Parameters:
Name | Type | Description |
---|---|---|
orderId |
String |
(static) RefundRequestMessage#setPaymentId(paymentId)
Set the field value
Unique identifier for a payment
Parameters:
Name | Type | Description |
---|---|---|
paymentId |
String |