Class: OrderCustomFieldsUpdate

Request~OrderCustomFieldsUpdate(clientnullable, ordernullable)

Handles API Request OrderCustomFields_Update. Scope: Store.

Constructor

new OrderCustomFieldsUpdate(clientnullable, ordernullable)

OrderCustomFieldsUpdate Constructor.

OrderCustomFieldsUpdate 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

getCustomFieldValues() → (nullable) {CustomFieldValues}

Get CustomField_Values.

Get CustomField_Values.

Source:
Returns:
Type
CustomFieldValues

getOrderId() → {number}

Get Order_ID.

Get Order_ID.

Source:
Returns:
Type
number

setCustomFieldValues(customFieldValuesnullable) → {OrderCustomFieldsUpdate}

Set CustomField_Values.

Set CustomField_Values.

Parameters:
Name Type Attributes Description
customFieldValues CustomFieldValues <nullable>
Source:
Throws:
Error
Returns:
Type
OrderCustomFieldsUpdate

setOrderId(orderId) → {OrderCustomFieldsUpdate}

Set Order_ID.

Set Order_ID.

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

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object