java.lang.Objectcom.ibm.commerce.tools.epromotion.RLPromotionRangesModel
Represents the range model for rules based discount.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
RLPromotionRangesModel(java.lang.String[] someQuantities, java.lang.String[] someValues) RangedPromotionModel constructor. |
|
RLPromotionRangesModel(java.util.Vector someQuantities, java.util.Vector someValues) RangedPromotionModel constructor |
Method Summary | |
int | countDiscountValues() Return the range size of the ranged promotion |
java.lang.String | getDiscountValue(int anIndex) Get the discount value by the given index in the range array. |
java.lang.String | getMinimumQuantityToQualify(int anIndex) Get the minimum quantity to quanlify the discount by the given index in the range. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public RLPromotionRangesModel(java.lang.String[] someQuantities, java.lang.String[] someValues)
public RLPromotionRangesModel(java.util.Vector someQuantities, java.util.Vector someValues)
Method Detail |
public int countDiscountValues()
public java.lang.String getDiscountValue(int anIndex)
public java.lang.String getMinimumQuantityToQualify(int anIndex)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.