atg.commerce.csr.order.edit
Class ConsumablePromotion

java.lang.Object
  extended by atg.commerce.csr.order.edit.ConsumablePromotion
All Implemented Interfaces:
java.io.Serializable

Deprecated. this class is no no longer used by CSC for consuming promotions.

public class ConsumablePromotion
extends java.lang.Object
implements java.io.Serializable

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.

See Also:
Serialized Form

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

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Deprecated. 
See Also:
Constant Field Values

mPromotion

protected atg.repository.RepositoryItem mPromotion
Deprecated. 

mOrderCountWhenClaimed

protected int mOrderCountWhenClaimed
Deprecated. 

mPromotionUsed

protected boolean mPromotionUsed
Deprecated. 
Constructor Detail

ConsumablePromotion

public ConsumablePromotion()
Deprecated. 
Method Detail

getOrderCountWhenClaimed

public int getOrderCountWhenClaimed()
Deprecated. 
Returns the number of times the promotion appeared in the order after it was claimed.

Returns:
int

setOrderCountWhenClaimed

public void setOrderCountWhenClaimed(int pOrderCountWhenClaimed)
Deprecated. 

getPromotion

public atg.repository.RepositoryItem getPromotion()
Deprecated. 
Returns the promotion that was claimed.

Returns:
RepositoryItem

setPromotion

public void setPromotion(atg.repository.RepositoryItem pPromotion)
Deprecated. 

isPromotionUsed

public boolean isPromotionUsed()
Deprecated. 
Returns true if the reconciliation process determines that the promotion was used for the order.

Returns:
boolean

setPromotionUsed

public void setPromotionUsed(boolean pPromotionUsed)
Deprecated.