atg.commerce.csr.events
Class OrderManualAdjustmentEvent

java.lang.Object
  extended by atg.agent.events.AgentEvent
      extended by atg.commerce.csr.events.OrderEvent
          extended by atg.commerce.csr.events.OrderManualAdjustmentEvent
All Implemented Interfaces:
atg.service.datacollection.TypedEvent, java.io.Serializable

public class OrderManualAdjustmentEvent
extends OrderEvent

Event object used to represent a manual adjustment made to an order.

See Also:
Serialized Form

Field Summary
static int ADD_TYPE
          Event update type when a manual adjustment is added
static java.lang.String CLASS_VERSION
           
protected  java.lang.String mAdjustmentType
           
protected  java.lang.String mManualAdjustmentId
           
protected  java.lang.String mReasonCode
           
static int REMOVE_TYPE
          Event update type when a manual adjustment is removed
 
Fields inherited from class atg.agent.events.AgentEvent
AGENT_TOOLS_COMPONENT, mCurrentSiteId
 
Constructor Summary
OrderManualAdjustmentEvent()
           
 
Method Summary
 java.lang.String getAdjustmentType()
          Returns the adjustment type
 java.lang.String getManualAdjustmentId()
           
 java.lang.String getReasonCode()
          Returns the reason code for the adjustment.
 int getUpdateType()
           
 void setAdjustmentType(java.lang.String pAdjustmentType)
           
 void setManualAdjustmentId(java.lang.String pManualAdjustmentId)
          Sets the ID of the manual adjustment
 void setReasonCode(java.lang.String pReasonCode)
           
 void setUpdateType(int pUpdateType)
          Update type.
 
Methods inherited from class atg.commerce.csr.events.OrderEvent
getAmount, getOrderId, setAmount, setOrderId, toString
 
Methods inherited from class atg.agent.events.AgentEvent
getAgentProfile, getCurrentSiteId, getCustomerProfile, getCustomerProfileId, getEventDate, getIPAddress, getOrganizationId, getParentSessionId, getProfileId, getSessionId, getTicketId, getType, initializeBaseProperties, setCurrentSiteId, setCustomerProfile, setCustomerProfileId, setEventDate, setIPAddress, setOrganizationId, setParentSessionId, setProfileId, setSessionId, setTicketId, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

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

ADD_TYPE

public static final int ADD_TYPE
Event update type when a manual adjustment is added

See Also:
Constant Field Values

REMOVE_TYPE

public static final int REMOVE_TYPE
Event update type when a manual adjustment is removed

See Also:
Constant Field Values

mAdjustmentType

protected java.lang.String mAdjustmentType

mReasonCode

protected java.lang.String mReasonCode

mManualAdjustmentId

protected java.lang.String mManualAdjustmentId
Constructor Detail

OrderManualAdjustmentEvent

public OrderManualAdjustmentEvent()
Method Detail

setManualAdjustmentId

public void setManualAdjustmentId(java.lang.String pManualAdjustmentId)
Sets the ID of the manual adjustment

Parameters:
pManualAdjustmentId - the ID of the manual adjustment

getManualAdjustmentId

public java.lang.String getManualAdjustmentId()
Returns:
the ID of the manual adjustment

getUpdateType

public int getUpdateType()
Returns:
Returns the UpdateType.

setUpdateType

public void setUpdateType(int pUpdateType)
Update type.

Parameters:
pUpdateType - the type of update made.

getAdjustmentType

public java.lang.String getAdjustmentType()
Returns the adjustment type

Returns:
String

setAdjustmentType

public void setAdjustmentType(java.lang.String pAdjustmentType)

getReasonCode

public java.lang.String getReasonCode()
Returns the reason code for the adjustment.

Returns:
String

setReasonCode

public void setReasonCode(java.lang.String pReasonCode)