Constructor
new OrderItemListBackOrder(clientnullable, ordernullable)
OrderItemListBackOrder Constructor.
OrderItemListBackOrder Constructor.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
client |
Client |
<nullable> |
||
order |
Order |
<nullable> |
null |
Methods
addLineId(lineId) → {OrderItemListBackOrder}
Add Line_IDs.
Add Line_IDs.
Parameters:
Name | Type | Description |
---|---|---|
lineId |
number |
- Source:
Returns:
- Type
- OrderItemListBackOrder
addOrderItem(orderItem) → {OrderItemListBackOrder}
Add OrderItem model.
Add OrderItem model.
Parameters:
Name | Type | Description |
---|---|---|
orderItem |
OrderItem |
- Source:
Throws:
Error
Returns:
- Type
- OrderItemListBackOrder
createResponse() → {Response}
Create a response object from the response data.
Create a response object from the response data.
- Source:
Returns:
- Type
- Response
getDateInStock() → {number}
Get Date_InStock.
Get Date_InStock.
- Source:
Returns:
- Type
- number
getLineIds() → {Array}
Get Line_IDs.
Get Line_IDs.
- Source:
Returns:
- Type
- Array
getOrderId() → {number}
Get Order_ID.
Get Order_ID.
- Source:
Returns:
- Type
- number
setDateInStock(dateInStock) → {OrderItemListBackOrder}
Set Date_InStock.
Set Date_InStock.
Parameters:
Name | Type | Description |
---|---|---|
dateInStock |
number | Date |
- Source:
Returns:
- Type
- OrderItemListBackOrder
setOrderId(orderId) → {OrderItemListBackOrder}
Set Order_ID.
Set Order_ID.
Parameters:
Name | Type | Description |
---|---|---|
orderId |
number |
- Source:
Returns:
- Type
- OrderItemListBackOrder
toObject() → {Object}
Reduce the request to a an object.
Reduce the request to a an object.
- Source:
Returns:
- Type
- Object