Constructor
new OrderPaymentVoid(clientnullable, orderPaymentnullable)
OrderPaymentVoid Constructor.
OrderPaymentVoid 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) → {OrderPaymentVoid}
Set Amount.
Set Amount.
Parameters:
Name | Type | Description |
---|---|---|
amount |
number |
- Source:
Returns:
- Type
- OrderPaymentVoid
setOrderPaymentId(orderPaymentId) → {OrderPaymentVoid}
Set OrderPayment_ID.
Set OrderPayment_ID.
Parameters:
Name | Type | Description |
---|---|---|
orderPaymentId |
number |
- Source:
Returns:
- Type
- OrderPaymentVoid
toObject() → {Object}
Reduce the request to a an object.
Reduce the request to a an object.
- Source:
Returns:
- Type
- Object