Class: Unit

Unit

Class for Article Unit model.

new Unit(id, size, price, originalPrice, available, stock, partner, media)

Parameters:
Name Type Description
id String id of article.
size String size of article.
price Price price of article.
originalPrice Price price of article.
available boolean whether the unit is available or not.
stock number
partner Partner
media Media