Class PriceSummaryModel
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.model.impl.BaseModelImpl
de.hybris.platform.sap.productconfig.runtime.interf.model.PriceSummaryModel
- All Implemented Interfaces:
BaseModel,Serializable,Cloneable
Container for the different top-level prices of the configuration
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.sap.productconfig.runtime.interf.model.impl.BaseModelImpl
DEFAULT_ARRAY_LIST_CAPACITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBasePrice(PriceModel basePrice) voidsetCurrentTotalPrice(PriceModel currentTotalPrice) voidsetCurrentTotalSavings(PriceModel currentTotalSavings) voidsetSelectedOptionsPrice(PriceModel selectedOptionsPrice)
-
Constructor Details
-
PriceSummaryModel
public PriceSummaryModel()
-
-
Method Details
-
getCurrentTotalPrice
- Returns:
- total price of the configurable product
-
setCurrentTotalPrice
- Parameters:
currentTotalPrice- total price of the configurable product
-
getBasePrice
- Returns:
- base price of the configutable product, so excluding any surcharges for selected options.
-
setBasePrice
- Parameters:
basePrice- base price of the configutable product, so excluding any surcharges for selected options.
-
getSelectedOptionsPrice
- Returns:
- options price, sum of all surcharges for selected options.
-
setSelectedOptionsPrice
- Parameters:
selectedOptionsPrice- options price, sum of all surcharges for selected options.
-
getCurrentTotalSavings
- Returns:
- all savaings cummulated
-
setCurrentTotalSavings
- Parameters:
currentTotalSavings-
-