Constructor
new ProductInventoryAdjustment(data) → {void}
ProductInventoryAdjustment Constructor.
ProductInventoryAdjustment Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getAdjustment() → {number}
Get adjustment.
Get adjustment.
Returns:
- Type
- number
getProductCode() → {string}
Get product_code.
Get product_code.
Returns:
- Type
- string
getProductId() → {number}
Get product_id.
Get product_id.
Returns:
- Type
- number
getProductSku() → {string}
Get product_sku.
Get product_sku.
Returns:
- Type
- string
setAdjustment(adjustment) → {ProductInventoryAdjustment}
Set adjustment.
Set adjustment.
Parameters:
Name | Type | Description |
---|---|---|
adjustment |
number |
Returns:
- Type
- ProductInventoryAdjustment
setProductCode(productCode) → {ProductInventoryAdjustment}
Set product_code.
Set product_code.
Parameters:
Name | Type | Description |
---|---|---|
productCode |
string |
Returns:
- Type
- ProductInventoryAdjustment
setProductId(productId) → {ProductInventoryAdjustment}
Set product_id.
Set product_id.
Parameters:
Name | Type | Description |
---|---|---|
productId |
number |
Returns:
- Type
- ProductInventoryAdjustment
setProductSku(productSku) → {ProductInventoryAdjustment}
Set product_sku.
Set product_sku.
Parameters:
Name | Type | Description |
---|---|---|
productSku |
string |
Returns:
- Type
- ProductInventoryAdjustment