Class

Product

Product(product)

Constructor

# new Product(product)

Parameters:
Name Type Description
product

View Source model/Product.js, line 18

Methods

# validate()

Validate if everything seems ok with the properties of this object.

Validate if everything seems ok with the properties of this object.

View Source model/Product.js, line 29

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