|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.pricing.CalculatorInfo
public class CalculatorInfo
Holds details on calculator discounts. These details are used for example to create PMDL and to display the discount structure in the UI.
Nested Class Summary | |
---|---|
class |
CalculatorInfo.DiscountDetailInfo
Internal class to contain info on DiscountDetail structures within a discount structure. |
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected CalculatorInfo.DiscountDetailInfo[] |
mDiscountDetailInfos
|
Constructor Summary | |
---|---|
CalculatorInfo(java.lang.String pCalculatorType)
Constructor. |
Method Summary | |
---|---|
CalculatorInfo.DiscountDetailInfo |
createDiscountDetailInfo()
Creates a new DiscountDetailInfo object for use. |
java.lang.String |
getCalculatorType()
Getter for the calculatorType. |
DiscountAttributeInfo[] |
getDiscountAttributeInfos()
Deprecated. @see #getDiscountDetailInfos() |
CalculatorInfo.DiscountDetailInfo[] |
getDiscountDetailInfos()
Getter for the array of DiscountDetailInfo. |
DiscountAttributeInfo[] |
getDiscountStructureAttributeInfos()
Getter for the DiscountStructureAttributeInfos. |
java.lang.String[] |
getDiscountTypes()
Getter for the valid discount types for this calculator. |
void |
setCalculatorType(java.lang.String pCalculatorType)
|
void |
setDiscountDetailAttributeInfos(DiscountAttributeInfo[] pDiscountDetailAttributeInfos)
|
void |
setDiscountDetailInfos(CalculatorInfo.DiscountDetailInfo[] pDiscountDetailInfos)
Setter for the array of DiscountDetailInfo |
void |
setDiscountStructureAttributeInfos(DiscountAttributeInfo[] pDiscountStructureAttributeInfos)
|
void |
setDiscountTypes(java.lang.String[] pDiscountTypes)
|
java.lang.String |
toString()
String description of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected CalculatorInfo.DiscountDetailInfo[] mDiscountDetailInfos
Constructor Detail |
---|
public CalculatorInfo(java.lang.String pCalculatorType)
pCalculatorType
- Method Detail |
---|
public java.lang.String getCalculatorType()
public void setCalculatorType(java.lang.String pCalculatorType)
public DiscountAttributeInfo[] getDiscountStructureAttributeInfos()
public void setDiscountStructureAttributeInfos(DiscountAttributeInfo[] pDiscountStructureAttributeInfos)
public DiscountAttributeInfo[] getDiscountAttributeInfos()
public void setDiscountDetailAttributeInfos(DiscountAttributeInfo[] pDiscountDetailAttributeInfos)
public java.lang.String[] getDiscountTypes()
public void setDiscountTypes(java.lang.String[] pDiscountTypes)
public CalculatorInfo.DiscountDetailInfo[] getDiscountDetailInfos()
public void setDiscountDetailInfos(CalculatorInfo.DiscountDetailInfo[] pDiscountDetailInfos)
pDiscountDetailInfos
- Array of DiscountDetailInfopublic CalculatorInfo.DiscountDetailInfo createDiscountDetailInfo()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |