Package mc.core.model.i18n
Class Pricelist
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.SimpleEntity
mc.core.model.i18n.Pricelist
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,ISortableEntity
Entity representing a pricelist that groups prices together.
currency: mandatory. prices belonging to this Pricelist get the currency from PricelistvalidFrom and validUntil: optional, prices belonging to this Pricelist all have the same
validFrom and validUntil dates. tax: tax rate as double, optionalterritories: territories for which this pricelist's prices are valid, optional- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator, EntityBase.Param -
Field Summary
Fields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTax()voidsetCurrency(Currency currency) voidvoidsetTerritories(List<Territory> territories) voidsetValidFrom(Calendar validFrom) voidsetValidUntil(Calendar validUntil) Methods inherited from class mc.core.model.base.SimpleEntity
getId, getInternalDescription, getIsActive, setId, setIsActiveMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio, toString
-
Constructor Details
-
Pricelist
public Pricelist()standard constructor
-
-
Method Details
-
getCurrency
-
getTerritories
-
setCurrency
-
setTerritories
-
getTax
-
setTax
-
getValidFrom
-
setValidFrom
-
getValidUntil
-
setValidUntil
-