Class: OrderCreateFromOrder

Request~OrderCreateFromOrder(clientnullable, ordernullable)

Handles API Request Order_Create_FromOrder. Scope: Store.

Constructor

new OrderCreateFromOrder(clientnullable, ordernullable)

OrderCreateFromOrder Constructor.

OrderCreateFromOrder Constructor.

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

Methods

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getOrderId() → {number}

Get Order_ID.

Get Order_ID.

Source:
Returns:
Type
number

setOrderId(orderId) → {OrderCreateFromOrder}

Set Order_ID.

Set Order_ID.

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

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object