Class

IndividualProduct

IndividualProduct(individualProduct)

Constructor

# new IndividualProduct(individualProduct)

Parameters:
Name Type Description
individualProduct IndividualProduct | Object

View Source model/IndividualProduct.js, line 21

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

View Source model/IndividualProduct.js, line 42

undefined if all ok. An arry of errors if not all ok.