|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.promotion.PromotionUpsellTools
public class PromotionUpsellTools
This tools class is used by the ClosenessQualifierDroplet and the PromotionUpsell targeter to compile lists of closenessQualifiers.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
PromotionUpsellTools()
|
Method Summary | |
---|---|
void |
addClosenessQualifiers(java.util.List pClosenessQualifiers,
java.util.List pAllClosenessQualifiers)
|
java.util.List |
compileAllClosenessQualifiers(Order pOrder)
This method gets each of the four types of closenessQualifiers in the current order and compiles them into a single List. |
java.util.List |
compileItemClosenessQualifiers(Order pOrder)
Gets the closenessQualifiers from each item in the current order and compiles them into a single List |
java.util.List |
compileOrderClosenessQualifiers(Order pOrder)
Returns the closenessQualifiers in the OrderPriceInfo of the current order |
java.util.List |
compileShippingClosenessQualifiers(Order pOrder)
Gets the closenessQualifiers from each shipping group in the current order and compiles them into a single List. |
java.util.List |
compileTaxClosenessQualifiers(Order pOrder)
Returns the closenessQualifiers in the TaxPriceInfo of the current order |
java.lang.String |
getShoppingCartPath()
|
void |
setShoppingCartPath(java.lang.String pShoppingCartPath)
The path to the component that holds the current shopping cart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PromotionUpsellTools()
Method Detail |
---|
public void setShoppingCartPath(java.lang.String pShoppingCartPath)
pShoppingCartPath
- The path to the component that holds the current shopping cartpublic java.lang.String getShoppingCartPath()
public java.util.List compileAllClosenessQualifiers(Order pOrder)
public void addClosenessQualifiers(java.util.List pClosenessQualifiers, java.util.List pAllClosenessQualifiers)
public java.util.List compileItemClosenessQualifiers(Order pOrder)
public java.util.List compileShippingClosenessQualifiers(Order pOrder)
public java.util.List compileOrderClosenessQualifiers(Order pOrder)
public java.util.List compileTaxClosenessQualifiers(Order pOrder)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |