Class

OrderLine

OrderLine(gtin, quantity, requesterId, senderId, status)

Constructor

# new OrderLine(gtin, quantity, requesterId, senderId, status)

Parameters:
Name Type Description
gtin
quantity
requesterId
senderId
status

View Source model/OrderLine.js, line 22

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/OrderLine.js, line 34

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