com.ibm.commerce.discount.rules

Interface DiscountConst

  • All Known Implementing Classes:
    Discount


    public interface DiscountConst
    This interface stores all the constants that rule-based-discount objects may use. These are all run-time object definitions
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COMPONENT_RULE_BASED_DISCOUNT
      Rules based discount component name.
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String DISCOUNT_SERVICE
      Rule Service Name.
      static java.lang.Integer FIXED_VALUE
      This value indicates that the discount is giving a fixed cheaper value to one order or some order items depending on the discount target.
      static java.lang.Integer ORDER_LEVEL
      This value indicates that the discount is targetting to an order.
      static java.lang.Integer PERCENTAGE_OFF
      This value indicates that the discount is a percentage off discount.
      static java.lang.Integer PRODUCT_LEVEL
      This value indicates that the discount is targetting to the items in the order.
      static java.lang.String SHIPPING
      Shipping service name for discount.
      static java.lang.Integer VALUE_OFF
      This value indicates that the discount is a certain value off discount.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • ORDER_LEVEL

        static final java.lang.Integer ORDER_LEVEL
        This value indicates that the discount is targetting to an order. For example, a discount is depending on the order total price.
      • PRODUCT_LEVEL

        static final java.lang.Integer PRODUCT_LEVEL
        This value indicates that the discount is targetting to the items in the order. For example, a discount is depending on the quantity of particular items.
      • PERCENTAGE_OFF

        static final java.lang.Integer PERCENTAGE_OFF
        This value indicates that the discount is a percentage off discount.
      • VALUE_OFF

        static final java.lang.Integer VALUE_OFF
        This value indicates that the discount is a certain value off discount.
      • FIXED_VALUE

        static final java.lang.Integer FIXED_VALUE
        This value indicates that the discount is giving a fixed cheaper value to one order or some order items depending on the discount target.
      • SHIPPING

        static final java.lang.String SHIPPING
        Shipping service name for discount.
        See Also:
        Constant Field Values
      • DISCOUNT_SERVICE

        static final java.lang.String DISCOUNT_SERVICE
        Rule Service Name. This rule service name is used by rule server to create, invoke or manage the discount rule service. This name is also being used when creating a rule service before rule project deployment, or refreshing a rule service after rule project deployment.
        See Also:
        Constant Field Values
      • COMPONENT_RULE_BASED_DISCOUNT

        static final java.lang.String COMPONENT_RULE_BASED_DISCOUNT
        Rules based discount component name.
        See Also:
        Constant Field Values