public class RLPromotionRangesModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
RLPromotionRangesModel(java.lang.String[] someQuantities,
java.lang.String[] someValues)
RangedPromotionModel constructor.
|
RLPromotionRangesModel(java.util.Vector someQuantities,
java.util.Vector someValues)
RangedPromotionModel constructor.
|
Modifier and Type | Method and Description |
---|---|
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 qualify the discount by the given index in the range.
|
public static final java.lang.String COPYRIGHT
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.Vecotrpublic int countDiscountValues()
public java.lang.String getDiscountValue(int anIndex)
anIndex
- intpublic java.lang.String getMinimumQuantityToQualify(int anIndex)
anIndex
- int