Class: ProductDelete

Request~ProductDelete(clientnullable, productnullable)

Handles API Request Product_Delete. Scope: Store.

Constructor

new ProductDelete(clientnullable, productnullable)

ProductDelete Constructor.

ProductDelete Constructor.

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

getEditProduct() → {string}

Get Edit_Product.

Get Edit_Product.

Source:
Returns:
Type
string

getProductCode() → {string}

Get Product_Code.

Get Product_Code.

Source:
Returns:
Type
string

getProductId() → {number}

Get Product_ID.

Get Product_ID.

Source:
Returns:
Type
number

getProductSku() → {string}

Get Product_SKU.

Get Product_SKU.

Source:
Returns:
Type
string

setEditProduct(editProduct) → {ProductDelete}

Set Edit_Product.

Set Edit_Product.

Parameters:
Name Type Description
editProduct string
Source:
Returns:
Type
ProductDelete

setProductCode(productCode) → {ProductDelete}

Set Product_Code.

Set Product_Code.

Parameters:
Name Type Description
productCode string
Source:
Returns:
Type
ProductDelete

setProductId(productId) → {ProductDelete}

Set Product_ID.

Set Product_ID.

Parameters:
Name Type Description
productId number
Source:
Returns:
Type
ProductDelete

setProductSku(productSku) → {ProductDelete}

Set Product_SKU.

Set Product_SKU.

Parameters:
Name Type Description
productSku string
Source:
Returns:
Type
ProductDelete

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object