Constructor
# new IndividualProduct(individualProduct)
Parameters:
| Name | Type | Description |
|---|---|---|
individualProduct |
IndividualProduct
|
Object
|
Methods
# validate(oldStatusopt)
Validate if everything seems ok with the properties of this object.
Validate if everything seems ok with the properties of this object.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
oldStatus |
string
|
<optional> |
if oldStatus validation is available |
undefined if all ok. An arry of errors if not all ok.