Class: ProductInventoryAdjustment

Model~ProductInventoryAdjustment(data) → {void}

ProductInventoryAdjustment data model.

Constructor

new ProductInventoryAdjustment(data) → {void}

ProductInventoryAdjustment Constructor.

ProductInventoryAdjustment Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Methods

getAdjustment() → {number}

Get adjustment.

Get adjustment.

Source:
Returns:
Type
number

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

setAdjustment(adjustment) → {ProductInventoryAdjustment}

Set adjustment.

Set adjustment.

Parameters:
Name Type Description
adjustment number
Source:
Returns:
Type
ProductInventoryAdjustment

setProductCode(productCode) → {ProductInventoryAdjustment}

Set product_code.

Set product_code.

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

setProductId(productId) → {ProductInventoryAdjustment}

Set product_id.

Set product_id.

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

setProductSku(productSku) → {ProductInventoryAdjustment}

Set product_sku.

Set product_sku.

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