Class PriceValueUpdateModel
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.model.impl.BaseModelImpl
de.hybris.platform.sap.productconfig.runtime.interf.model.PriceValueUpdateModel
- All Implemented Interfaces:
BaseModel,Serializable,Cloneable
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
- 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 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
-