Class PriceValueUpdateModel


  • public class PriceValueUpdateModel
    extends java.lang.Object
    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 Detail

      • PriceValueUpdateModel

        public PriceValueUpdateModel()
    • 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