Class AbstractRuleBasedPromotionActionModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RuleBasedAddCouponActionModel, RuleBasedOrderAddProductActionModel, RuleBasedOrderAdjustTotalActionModel, RuleBasedOrderChangeDeliveryModeActionModel, RuleBasedOrderEntryAdjustActionModel, RuleBasedPotentialPromotionMessageActionModel

public class AbstractRuleBasedPromotionActionModel extends AbstractPromotionActionModel
Generated model class for type AbstractRuleBasedPromotionAction first defined at extension promotionengineservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • RULE

      public static final String RULE
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
      See Also:
    • STRATEGYID

      public static final String STRATEGYID
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
      See Also:
    • METADATAHANDLERS

      public static final String METADATAHANDLERS
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
      See Also:
    • USEDCOUPONCODES

      public static final String USEDCOUPONCODES
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
      See Also:
  • Constructor Details

    • AbstractRuleBasedPromotionActionModel

      public AbstractRuleBasedPromotionActionModel()
      Generated constructor - Default constructor for generic creation.
    • AbstractRuleBasedPromotionActionModel

      public AbstractRuleBasedPromotionActionModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • AbstractRuleBasedPromotionActionModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractRuleBasedPromotionActionModel(ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getMetadataHandlers

      @Accessor(qualifier="metadataHandlers", type=GETTER) public Collection<String> getMetadataHandlers()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the metadataHandlers
    • getRule

      Generated method - Getter of the AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
      Returns:
      the rule - The rule that created this promotion action.
    • getStrategyId

      @Accessor(qualifier="strategyId", type=GETTER) public String getStrategyId()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
      Returns:
      the strategyId - the strategyId (i.e. spring bean id) this action was created by.
    • getUsedCouponCodes

      @Accessor(qualifier="usedCouponCodes", type=GETTER) public Collection<String> getUsedCouponCodes()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the usedCouponCodes
    • setMetadataHandlers

      @Accessor(qualifier="metadataHandlers", type=SETTER) public void setMetadataHandlers(Collection<String> value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
      Parameters:
      value - the metadataHandlers
    • setRule

      @Accessor(qualifier="rule", type=SETTER) public void setRule(AbstractRuleEngineRuleModel value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
      Parameters:
      value - the rule - The rule that created this promotion action.
    • setStrategyId

      @Accessor(qualifier="strategyId", type=SETTER) public void setStrategyId(String value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
      Parameters:
      value - the strategyId - the strategyId (i.e. spring bean id) this action was created by.
    • setUsedCouponCodes

      @Accessor(qualifier="usedCouponCodes", type=SETTER) public void setUsedCouponCodes(Collection<String> value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
      Parameters:
      value - the usedCouponCodes