Class ZeroPriceModelImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.model.impl.BaseModelImpl
de.hybris.platform.sap.productconfig.runtime.interf.model.impl.PriceModelImpl
de.hybris.platform.sap.productconfig.runtime.interf.model.impl.ZeroPriceModelImpl
- All Implemented Interfaces:
BaseModel,PriceModel,Serializable,Cloneable
Immutable Object
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.sap.productconfig.runtime.interf.model.impl.BaseModelImpl
DEFAULT_ARRAY_LIST_CAPACITYFields inherited from interface de.hybris.platform.sap.productconfig.runtime.interf.model.PriceModel
NO_PRICE, PRICE_NA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidsetCurrency(String currency) voidsetObsoletePriceValue(BigDecimal priceValue) voidsetPriceValue(BigDecimal priceValue) Methods inherited from class de.hybris.platform.sap.productconfig.runtime.interf.model.impl.PriceModelImpl
equals, hashCode, hasNoCurrency, hasNoPrice, hasValidPrice, toString
-
Constructor Details
-
ZeroPriceModelImpl
public ZeroPriceModelImpl()
-
-
Method Details
-
setCurrency
- Specified by:
setCurrencyin interfacePriceModel- Overrides:
setCurrencyin classPriceModelImpl- Parameters:
currency- price currency
-
setPriceValue
- Specified by:
setPriceValuein interfacePriceModel- Overrides:
setPriceValuein classPriceModelImpl- Parameters:
priceValue- price value
-
setObsoletePriceValue
- Specified by:
setObsoletePriceValuein interfacePriceModel- Overrides:
setObsoletePriceValuein classPriceModelImpl- Parameters:
priceValue- old price without discount
-
getCurrency
- Specified by:
getCurrencyin interfacePriceModel- Overrides:
getCurrencyin classPriceModelImpl- Returns:
- price currency
-
getPriceValue
- Specified by:
getPriceValuein interfacePriceModel- Overrides:
getPriceValuein classPriceModelImpl- Returns:
- price value
-
getObsoletePriceValue
- Specified by:
getObsoletePriceValuein interfacePriceModel- Overrides:
getObsoletePriceValuein classPriceModelImpl- Returns:
- old price without discount
-
clone
-