Constructor
new OrderPaymentRefund(clientnullable, orderPaymentnullable)
OrderPaymentRefund Constructor.
OrderPaymentRefund Constructor.
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
client | 
            
            Client | 
                
                
                    <nullable> | 
            
            
                ||
orderPayment | 
            
            OrderPayment | 
                
                
                    <nullable> | 
            
            
                null | 
Methods
createResponse() → {Response}
Create a response object from the response data.
Create a response object from the response data.
- Source:
 
Returns:
- Type
 - Response
 
getAmount() → {number}
Get Amount.
Get Amount.
- Source:
 
Returns:
- Type
 - number
 
getOrderPaymentId() → {number}
Get OrderPayment_ID.
Get OrderPayment_ID.
- Source:
 
Returns:
- Type
 - number
 
setAmount(amount) → {OrderPaymentRefund}
Set Amount.
Set Amount.
Parameters:
| Name | Type | Description | 
|---|---|---|
amount | 
            
            number | 
- Source:
 
Returns:
- Type
 - OrderPaymentRefund
 
setOrderPaymentId(orderPaymentId) → {OrderPaymentRefund}
Set OrderPayment_ID.
Set OrderPayment_ID.
Parameters:
| Name | Type | Description | 
|---|---|---|
orderPaymentId | 
            
            number | 
- Source:
 
Returns:
- Type
 - OrderPaymentRefund
 
toObject() → {Object}
Reduce the request to a an object.
Reduce the request to a an object.
- Source:
 
Returns:
- Type
 - Object