Class PriceValueUpdateModel
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.model.PriceValueUpdateModel
Pojo for storing characteristic specific price related data. Used for the asynchronous price request where the
configuration model is already present and we use this model to read prices attached to the characteristics values
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCsticQualifier(CsticQualifier csticQualifier) voidsetSelectedValues(List<String> selectedValues) voidsetShowDeltaPrices(boolean showDeltaPrices) voidsetValuePrices(Map<String, PriceModel> valuePrices)
-
Constructor Details
-
PriceValueUpdateModel
public PriceValueUpdateModel()
-
-
Method Details
-
getCsticQualifier
- Returns:
- ID of characteristic
-
setCsticQualifier
- Parameters:
csticQualifier- ID of characteristic
-
getSelectedValues
- Returns:
- List of selected values, used for delta price calculation
-
setSelectedValues
- Parameters:
selectedValues- List of selected values, used for delta price calculation
-
getValuePrices
- Returns:
- List of prices per value. Those prices can represent delta prices (comparing to the currently selectedProductConfigMessageImplTest value) or absolute ones
-
setValuePrices
- Parameters:
valuePrices- List of prices per value. Those prices can represent delta prices (comparing to the currently selected value) or absolute ones
-
isShowDeltaPrices
public boolean isShowDeltaPrices()- Returns:
- true if delta prices are returned; false if absolute value prices are returned
-
setShowDeltaPrices
public void setShowDeltaPrices(boolean showDeltaPrices) - Parameters:
showDeltaPrices- set flag whether delta prices are returned
-