Constructor
new ProductVariantLimit(data) → {void}
ProductVariantLimit Constructor.
ProductVariantLimit Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getAttributeId() → {number}
Get attr_id.
Get attr_id.
Returns:
- Type
- number
getAttributeTemplateId() → {number}
Get attmpat_id.
Get attmpat_id.
Returns:
- Type
- number
getOptionId() → {number}
Get option_id.
Get option_id.
Returns:
- Type
- number
setAttributeId(attributeId) → {ProductVariantLimit}
Set attr_id.
Set attr_id.
Parameters:
Name | Type | Description |
---|---|---|
attributeId |
number |
Returns:
- Type
- ProductVariantLimit
setAttributeTemplateId(attributeTemplateId) → {ProductVariantLimit}
Set attmpat_id.
Set attmpat_id.
Parameters:
Name | Type | Description |
---|---|---|
attributeTemplateId |
number |
Returns:
- Type
- ProductVariantLimit
setOptionId(optionId) → {ProductVariantLimit}
Set option_id.
Set option_id.
Parameters:
Name | Type | Description |
---|---|---|
optionId |
number |
Returns:
- Type
- ProductVariantLimit