Class RuleBasedOrderAdjustTotalActionModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

      public static final String AMOUNT
      Generated constant - Attribute key of RuleBasedOrderAdjustTotalAction.amount attribute defined at extension promotionengineservices.
      See Also:
  • Constructor Details

    • RuleBasedOrderAdjustTotalActionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public RuleBasedOrderAdjustTotalActionModel(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

    • getAmount

      @Accessor(qualifier="amount", type=GETTER) public BigDecimal getAmount()
      Generated method - Getter of the RuleBasedOrderAdjustTotalAction.amount attribute defined at extension promotionengineservices.
      Returns:
      the amount - The amount to adjust the cart total by.
    • setAmount

      @Accessor(qualifier="amount", type=SETTER) public void setAmount(BigDecimal value)
      Generated method - Setter of RuleBasedOrderAdjustTotalAction.amount attribute defined at extension promotionengineservices.
      Parameters:
      value - the amount - The amount to adjust the cart total by.