Constructor
new ProductImageAdd(clientnullable, productnullable)
ProductImageAdd Constructor.
ProductImageAdd Constructor.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
client |
Client |
<nullable> |
||
product |
Product |
<nullable> |
null |
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
getFilepath() → {string}
Get Filepath.
Get Filepath.
- Source:
Returns:
- Type
- string
getImageTypeId() → {number}
Get ImageType_ID.
Get ImageType_ID.
- 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
setEditProduct(editProduct) → {ProductImageAdd}
Set Edit_Product.
Set Edit_Product.
Parameters:
Name | Type | Description |
---|---|---|
editProduct |
string |
- Source:
Returns:
- Type
- ProductImageAdd
setFilepath(filepath) → {ProductImageAdd}
Set Filepath.
Set Filepath.
Parameters:
Name | Type | Description |
---|---|---|
filepath |
string |
- Source:
Returns:
- Type
- ProductImageAdd
setImageTypeId(imageTypeId) → {ProductImageAdd}
Set ImageType_ID.
Set ImageType_ID.
Parameters:
Name | Type | Description |
---|---|---|
imageTypeId |
number |
- Source:
Returns:
- Type
- ProductImageAdd
setProductCode(productCode) → {ProductImageAdd}
Set Product_Code.
Set Product_Code.
Parameters:
Name | Type | Description |
---|---|---|
productCode |
string |
- Source:
Returns:
- Type
- ProductImageAdd
setProductId(productId) → {ProductImageAdd}
Set Product_ID.
Set Product_ID.
Parameters:
Name | Type | Description |
---|---|---|
productId |
number |
- Source:
Returns:
- Type
- ProductImageAdd
setProductSku(productSku) → {ProductImageAdd}
Set Product_SKU.
Set Product_SKU.
Parameters:
Name | Type | Description |
---|---|---|
productSku |
string |
- Source:
Returns:
- Type
- ProductImageAdd
toObject() → {Object}
Reduce the request to a an object.
Reduce the request to a an object.
- Source:
Returns:
- Type
- Object