Class TmaSelectPolicyActionResolver

    • Constructor Detail

      • TmaSelectPolicyActionResolver

        public TmaSelectPolicyActionResolver()
    • Method Detail

      • processPolicyActions

        public void processPolicyActions​(AbstractOrderModel orderModel,
                                         EntryGroup entryGroup,
                                         java.util.List<TmaPolicyActionModel> policyActions)
        Updates the entry group with the error messages computed based on the failed poly actions.
        Specified by:
        processPolicyActions in interface TmaPolicyActionResolver
        Parameters:
        orderModel - the current order
        entryGroup - cart entry group considered invalid
        policyActions - failed policy actions
      • getL10NService

        protected de.hybris.platform.servicelayer.i18n.L10NService getL10NService()
      • setL10NService

        public void setL10NService​(de.hybris.platform.servicelayer.i18n.L10NService l10NService)
      • getEntryGroupService

        protected de.hybris.platform.order.EntryGroupService getEntryGroupService()
      • setEntryGroupService

        public void setEntryGroupService​(de.hybris.platform.order.EntryGroupService entryGroupService)
      • getModelService

        protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      • setModelService

        public void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)
      • setTmaValidationMessagesStrategy

        public void setTmaValidationMessagesStrategy​(TmaValidationMessagesStrategy tmaValidationMessagesStrategy)
      • setTmaEntryGroupService

        public void setTmaEntryGroupService​(TmaEntryGroupService tmaEntryGroupService)