Class

Stock

Stock(stock)

Constructor

# new Stock(stock)

Parameters:
Name Type Description
stock

View Source model/Stock.js, line 19

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/Stock.js, line 37

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