Class: CategoryDelete

Request~CategoryDelete(clientnullable, categorynullable)

Handles API Request Category_Delete. Scope: Store.

Constructor

new CategoryDelete(clientnullable, categorynullable)

CategoryDelete Constructor.

CategoryDelete Constructor.

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

getCategoryCode() → {string}

Get Category_Code.

Get Category_Code.

Source:
Returns:
Type
string

getCategoryId() → {number}

Get Category_ID.

Get Category_ID.

Source:
Returns:
Type
number

getEditCategory() → {string}

Get Edit_Category.

Get Edit_Category.

Source:
Returns:
Type
string

setCategoryCode(categoryCode) → {CategoryDelete}

Set Category_Code.

Set Category_Code.

Parameters:
Name Type Description
categoryCode string
Source:
Returns:
Type
CategoryDelete

setCategoryId(categoryId) → {CategoryDelete}

Set Category_ID.

Set Category_ID.

Parameters:
Name Type Description
categoryId number
Source:
Returns:
Type
CategoryDelete

setEditCategory(editCategory) → {CategoryDelete}

Set Edit_Category.

Set Edit_Category.

Parameters:
Name Type Description
editCategory string
Source:
Returns:
Type
CategoryDelete

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object