Class PriceValueUpdateModel
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.interf.model.PriceValueUpdateModel
-
public class PriceValueUpdateModel extends java.lang.ObjectPojo 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 Constructor Description PriceValueUpdateModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CsticQualifiergetCsticQualifier()java.util.List<java.lang.String>getSelectedValues()java.util.Map<java.lang.String,PriceModel>getValuePrices()booleanisShowDeltaPrices()voidsetCsticQualifier(CsticQualifier csticQualifier)voidsetSelectedValues(java.util.List<java.lang.String> selectedValues)voidsetShowDeltaPrices(boolean showDeltaPrices)voidsetValuePrices(java.util.Map<java.lang.String,PriceModel> valuePrices)
-
-
-
Method Detail
-
getCsticQualifier
public CsticQualifier getCsticQualifier()
- Returns:
- ID of characteristic
-
setCsticQualifier
public void setCsticQualifier(CsticQualifier csticQualifier)
- Parameters:
csticQualifier- ID of characteristic
-
getSelectedValues
public java.util.List<java.lang.String> getSelectedValues()
- Returns:
- List of selected values, used for delta price calculation
-
setSelectedValues
public void setSelectedValues(java.util.List<java.lang.String> selectedValues)
- Parameters:
selectedValues- List of selected values, used for delta price calculation
-
getValuePrices
public java.util.Map<java.lang.String,PriceModel> getValuePrices()
- Returns:
- List of prices per value. Those prices can represent delta prices (comparing to the currently selectedProductConfigMessageImplTest value) or absolute ones
-
setValuePrices
public void setValuePrices(java.util.Map<java.lang.String,PriceModel> valuePrices)
- 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
-
-