Describes an entity which packages all ProductItems of the same type A product is of a defined by a ProductCategory and other traits that define how to handle items assigned to that product. @since: 1.0 @author: Jennifer Bödker
Type | Name and description |
---|---|
java.util.Currency |
currency Describes the currency under which the product is charged |
java.lang.String |
description Provides a more detailed description of the product |
ProductCategory |
productCategory Describes the category of the product |
java.lang.String |
productName The name of the product |
java.lang.Boolean |
proportionateAllowed States if the product can be proportioned or not |
java.lang.String |
unit The unit in which the product is offered |
java.lang.Double |
unitPrice The price of one unit of the product |
Constructor and description |
---|
Product
(ProductCategory productCategory, java.util.Currency currency, java.lang.String description, java.lang.String productName, java.lang.Double unitPrice, java.lang.String unit, java.lang.Boolean proportionateAllowed) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Describes the currency under which the product is charged
Provides a more detailed description of the product
Describes the category of the product
The name of the product
States if the product can be proportioned or not
The unit in which the product is offered
The price of one unit of the product
Groovy Documentation