public class ConsumablePromotion
extends java.lang.Object
implements java.io.Serializable
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Deprecated.
|
protected int |
mOrderCountWhenClaimed
Deprecated.
|
protected atg.repository.RepositoryItem |
mPromotion
Deprecated.
|
protected boolean |
mPromotionUsed
Deprecated.
|
Constructor and Description |
---|
ConsumablePromotion()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String CLASS_VERSION
protected atg.repository.RepositoryItem mPromotion
protected int mOrderCountWhenClaimed
protected boolean mPromotionUsed
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)