Class: OrderItemListDelete

Request~OrderItemListDelete(clientnullable, ordernullable)

Handles API Request OrderItemList_Delete. Scope: Store.

Constructor

new OrderItemListDelete(clientnullable, ordernullable)

OrderItemListDelete Constructor.

OrderItemListDelete Constructor.

Parameters:
Name Type Attributes Default Description
client Client <nullable>
order Order <nullable>
null
Source:
See:

Methods

addLineId(lineId) → {OrderItemListDelete}

Add Line_IDs.

Add Line_IDs.

Parameters:
Name Type Description
lineId number
Source:
Returns:
Type
OrderItemListDelete

addOrderItem(orderItem) → {OrderItemListDelete}

Add OrderItem model.

Add OrderItem model.

Parameters:
Name Type Description
orderItem OrderItem
Source:
Throws:
Error
Returns:
Type
OrderItemListDelete

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) → {OrderItemListDelete}

Set Order_ID.

Set Order_ID.

Parameters:
Name Type Description
orderId number
Source:
Returns:
Type
OrderItemListDelete

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object