Class PriceSummaryModel
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.model.PriceSummaryModel
Container for the different top-level prices of the configuration
-
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-
-