Class GeneratedRuleBasedOrderChangeDeliveryModeAction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
RuleBasedOrderChangeDeliveryModeAction

public abstract class GeneratedRuleBasedOrderChangeDeliveryModeAction extends AbstractRuleBasedPromotionAction
Generated class for type RuleBasedOrderChangeDeliveryModeAction.
See Also:
  • Field Details

    • DELIVERYMODE

      public static final String DELIVERYMODE
      Qualifier of the RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute
      See Also:
    • DELIVERYCOST

      public static final String DELIVERYCOST
      Qualifier of the RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute
      See Also:
    • REPLACEDDELIVERYMODE

      public static final String REPLACEDDELIVERYMODE
      Qualifier of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute
      See Also:
    • REPLACEDDELIVERYCOST

      public static final String REPLACEDDELIVERYCOST
      Qualifier of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedRuleBasedOrderChangeDeliveryModeAction

      public GeneratedRuleBasedOrderChangeDeliveryModeAction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedAbstractRuleBasedPromotionAction
    • getDeliveryCost

      public BigDecimal getDeliveryCost(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute.
      Returns:
      the deliveryCost - The delivery cost to apply to the order
    • getDeliveryCost

      public BigDecimal getDeliveryCost()
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute.
      Returns:
      the deliveryCost - The delivery cost to apply to the order
    • setDeliveryCost

      public void setDeliveryCost(SessionContext ctx, BigDecimal value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute.
      Parameters:
      value - the deliveryCost - The delivery cost to apply to the order
    • setDeliveryCost

      public void setDeliveryCost(BigDecimal value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute.
      Parameters:
      value - the deliveryCost - The delivery cost to apply to the order
    • getDeliveryMode

      public DeliveryMode getDeliveryMode(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute.
      Returns:
      the deliveryMode - The delivery mode to apply to the order
    • getDeliveryMode

      public DeliveryMode getDeliveryMode()
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute.
      Returns:
      the deliveryMode - The delivery mode to apply to the order
    • setDeliveryMode

      public void setDeliveryMode(SessionContext ctx, DeliveryMode value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute.
      Parameters:
      value - the deliveryMode - The delivery mode to apply to the order
    • setDeliveryMode

      public void setDeliveryMode(DeliveryMode value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute.
      Parameters:
      value - the deliveryMode - The delivery mode to apply to the order
    • getReplacedDeliveryCost

      public BigDecimal getReplacedDeliveryCost(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute.
      Returns:
      the replacedDeliveryCost - The delivery cost that was set to order before a promotion was applied
    • getReplacedDeliveryCost

      public BigDecimal getReplacedDeliveryCost()
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute.
      Returns:
      the replacedDeliveryCost - The delivery cost that was set to order before a promotion was applied
    • setReplacedDeliveryCost

      public void setReplacedDeliveryCost(SessionContext ctx, BigDecimal value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute.
      Parameters:
      value - the replacedDeliveryCost - The delivery cost that was set to order before a promotion was applied
    • setReplacedDeliveryCost

      public void setReplacedDeliveryCost(BigDecimal value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute.
      Parameters:
      value - the replacedDeliveryCost - The delivery cost that was set to order before a promotion was applied
    • getReplacedDeliveryMode

      public DeliveryMode getReplacedDeliveryMode(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute.
      Returns:
      the replacedDeliveryMode - The delivery mode that was set to order before a promotion was applied
    • getReplacedDeliveryMode

      public DeliveryMode getReplacedDeliveryMode()
      Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute.
      Returns:
      the replacedDeliveryMode - The delivery mode that was set to order before a promotion was applied
    • setReplacedDeliveryMode

      public void setReplacedDeliveryMode(SessionContext ctx, DeliveryMode value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute.
      Parameters:
      value - the replacedDeliveryMode - The delivery mode that was set to order before a promotion was applied
    • setReplacedDeliveryMode

      public void setReplacedDeliveryMode(DeliveryMode value)
      Generated method - Setter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute.
      Parameters:
      value - the replacedDeliveryMode - The delivery mode that was set to order before a promotion was applied