Class: NoteInsert

Request~NoteInsert(clientnullable)

Handles API Request Note_Insert. Scope: Store.

Constructor

new NoteInsert(clientnullable)

NoteInsert Constructor.

NoteInsert Constructor.

Parameters:
Name Type Attributes Description
client Client <nullable>
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

getAccountId() → {number}

Get Account_ID.

Get Account_ID.

Source:
Returns:
Type
number

getCustomerId() → {number}

Get Customer_ID.

Get Customer_ID.

Source:
Returns:
Type
number

getNoteText() → {string}

Get NoteText.

Get NoteText.

Source:
Returns:
Type
string

getOrderId() → {number}

Get Order_ID.

Get Order_ID.

Source:
Returns:
Type
number

setAccountId(accountId) → {NoteInsert}

Set Account_ID.

Set Account_ID.

Parameters:
Name Type Description
accountId number
Source:
Returns:
Type
NoteInsert

setCustomerId(customerId) → {NoteInsert}

Set Customer_ID.

Set Customer_ID.

Parameters:
Name Type Description
customerId number
Source:
Returns:
Type
NoteInsert

setNoteText(noteText) → {NoteInsert}

Set NoteText.

Set NoteText.

Parameters:
Name Type Description
noteText string
Source:
Returns:
Type
NoteInsert

setOrderId(orderId) → {NoteInsert}

Set Order_ID.

Set Order_ID.

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

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object