Class AbstractOrderProductVariantPopulator

    • Constructor Detail

      • AbstractOrderProductVariantPopulator

        public AbstractOrderProductVariantPopulator()
    • Method Detail

      • populateAbstractOrderData

        protected void populateAbstractOrderData​(AbstractOrderEntryModel entry,
                                                 java.util.List<OrderEntryData> targetList)
        Transfers product variant related attributes from order entry into its DTO representation
        Parameters:
        targetList - Order DTO entries, used to get the cart entry DTO via searching for key
        entry - Order entry model
      • writeToTargetEntry

        protected void writeToTargetEntry​(java.util.List<OrderEntryData> targetList,
                                          AbstractOrderEntryModel sourceEntry)
        Writes result to target entry DTO
        Parameters:
        targetList - Order DTO entries, used to get the cart entry DTO via searching for key
        sourceEntry - Order entry model
        features - List of features
      • setCpqConfigurableChecker

        public void setCpqConfigurableChecker​(CPQConfigurableChecker cpqConfigurableChecker)
        Set helper, to check if the related product is a not-changeable product variant
        Parameters:
        cpqConfigurableChecker - configurable checker