|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.commerce.csr.order.edit.ConsumablePromotion
public class ConsumablePromotion
This class represents a promotion that was claimed while editing a submitted order.
When the order edits are reconciled, these promotions are consumed if the order count is still equals the order count when claimed. At that time it is marked as used so PromotionUsed events can be sent later in the reconciliation process.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Deprecated. |
protected int |
mOrderCountWhenClaimed
Deprecated. |
protected atg.repository.RepositoryItem |
mPromotion
Deprecated. |
protected boolean |
mPromotionUsed
Deprecated. |
Constructor Summary | |
---|---|
ConsumablePromotion()
Deprecated. |
Method Summary | |
---|---|
int |
getOrderCountWhenClaimed()
Deprecated. Returns the number of times the promotion appeared in the order after it was claimed. |
atg.repository.RepositoryItem |
getPromotion()
Deprecated. Returns the promotion that was claimed. |
boolean |
isPromotionUsed()
Deprecated. Returns true if the reconciliation process determines that the promotion was used for the order. |
void |
setOrderCountWhenClaimed(int pOrderCountWhenClaimed)
Deprecated. |
void |
setPromotion(atg.repository.RepositoryItem pPromotion)
Deprecated. |
void |
setPromotionUsed(boolean pPromotionUsed)
Deprecated. |
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 CLASS_VERSION
protected atg.repository.RepositoryItem mPromotion
protected int mOrderCountWhenClaimed
protected boolean mPromotionUsed
Constructor Detail |
---|
public ConsumablePromotion()
Method Detail |
---|
public int getOrderCountWhenClaimed()
public void setOrderCountWhenClaimed(int pOrderCountWhenClaimed)
public atg.repository.RepositoryItem getPromotion()
public void setPromotion(atg.repository.RepositoryItem pPromotion)
public boolean isPromotionUsed()
public void setPromotionUsed(boolean pPromotionUsed)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |