com.ibm.commerce.discount.rules
Interface DiscountConst

All Known Implementing Classes:
DeployRLPromotionCmdImpl, Discount

public interface DiscountConst

This interface store all the constants that rule-based-discount objects may use. These are all run-time object definitions


Field Summary
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
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

ORDER_LEVEL

public 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

public 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

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

VALUE_OFF

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

FIXED_VALUE

public 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

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

DISCOUNT_SERVICE

public 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 maybe used when user create a rule service before deploy a rule project or refresh a rule service after deploy a rule project.
See Also:
Constant Field Values

COMPONENT_RULE_BASED_DISCOUNT

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