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