Class PriceSummaryModel
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.interf.model.PriceSummaryModel
-
public class PriceSummaryModel extends java.lang.ObjectContainer for the different top-level prices of the configuration
-
-
Constructor Summary
Constructors Constructor Description PriceSummaryModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriceModelgetBasePrice()PriceModelgetCurrentTotalPrice()PriceModelgetCurrentTotalSavings()PriceModelgetSelectedOptionsPrice()voidsetBasePrice(PriceModel basePrice)voidsetCurrentTotalPrice(PriceModel currentTotalPrice)voidsetCurrentTotalSavings(PriceModel currentTotalSavings)voidsetSelectedOptionsPrice(PriceModel selectedOptionsPrice)
-
-
-
Method Detail
-
getCurrentTotalPrice
public PriceModel getCurrentTotalPrice()
- Returns:
- total price of the configurable product
-
setCurrentTotalPrice
public void setCurrentTotalPrice(PriceModel currentTotalPrice)
- Parameters:
currentTotalPrice- total price of the configurable product
-
getBasePrice
public PriceModel getBasePrice()
- Returns:
- base price of the configutable product, so excluding any surcharges for selected options.
-
setBasePrice
public void setBasePrice(PriceModel basePrice)
- Parameters:
basePrice- base price of the configutable product, so excluding any surcharges for selected options.
-
getSelectedOptionsPrice
public PriceModel getSelectedOptionsPrice()
- Returns:
- options price, sum of all surcharges for selected options.
-
setSelectedOptionsPrice
public void setSelectedOptionsPrice(PriceModel selectedOptionsPrice)
- Parameters:
selectedOptionsPrice- options price, sum of all surcharges for selected options.
-
getCurrentTotalSavings
public PriceModel getCurrentTotalSavings()
- Returns:
- all savaings cummulated
-
setCurrentTotalSavings
public void setCurrentTotalSavings(PriceModel currentTotalSavings)
- Parameters:
currentTotalSavings-
-
-