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#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#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 |
- Source: