Class: Deleter

Deleter

new Deleter(request) → {Deleter}

Deleter Class
Parameters:
Name Type Description
request object The body of the HTTP Post request from the client
Source:
Returns:
A new instance of Deleter
Type
Deleter

Methods

accumulateResult() → {null}

Push a result onto the result_list.
Source:
Returns:
Type
null

deleteRecords() → {null}

Iterate through the supplied parameters and load their related records from NetSuite. Populate result_list or exception accordingly.
Source:
Returns:
Type
null

executeDeleteRequest(Data) → {null}

Instantiate a new DeleteRequest given load parameters and accumulate its result on result_list.
Parameters:
Name Type Description
Data object representing load request parameters
Source:
Returns:
Type
null

generateReply() → {object}

Generate and return Deleter reply for the requestor.
Source:
Returns:
A formatted reply object from NetsuiteToolkit
Type
object