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

public class PriceValueUpdateModel extends BaseModelImpl
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:
  • Constructor Details

    • PriceValueUpdateModel

      public PriceValueUpdateModel()
  • Method Details

    • getCsticQualifier

      public CsticQualifier getCsticQualifier()
      Returns:
      ID of characteristic
    • setCsticQualifier

      public void setCsticQualifier(CsticQualifier csticQualifier)
      Parameters:
      csticQualifier - ID of characteristic
    • getSelectedValues

      public List<String> getSelectedValues()
      Returns:
      List of selected values, used for delta price calculation
    • setSelectedValues

      public void setSelectedValues(List<String> selectedValues)
      Parameters:
      selectedValues - List of selected values, used for delta price calculation
    • getValuePrices

      public Map<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(Map<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