java.lang.Object | +--com.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)
someQuantities
- String[]someValues
- String[]public RLPromotionRangesModel(java.util.Vector someQuantities, java.util.Vector someValues)
someQuantities
- java.util.VectorsomeValues
- java.util.VecotrMethod Detail |
---|
public int countDiscountValues()
public java.lang.String getDiscountValue(int anIndex)
anIndex
- intpublic java.lang.String getMinimumQuantityToQualify(int anIndex)
anIndex
- int