net.commerce.zocalo.ajax.events
Class Redemption

java.lang.Object
  extended by org.apache.log4j.spi.LoggingEvent
      extended by net.commerce.zocalo.ajax.events.Action
          extended by net.commerce.zocalo.ajax.events.PriceAction
              extended by net.commerce.zocalo.ajax.events.Redemption
All Implemented Interfaces:
java.io.Serializable

public class Redemption
extends PriceAction

Action representing the fact that coupons were redeemed when the claim was settled.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.commerce.zocalo.ajax.events.PriceAction
PriceAction.TimeComparator
 
Field Summary
 
Fields inherited from class org.apache.log4j.spi.LoggingEvent
categoryName, fqnOfCategoryClass, level, timeStamp
 
Constructor Summary
Redemption()
          Deprecated.  
Redemption(java.lang.String name, Price price, Quantity quantity, Position pos)
           
 
Method Summary
protected  java.lang.String actionString()
           
static Redemption newRedemption(java.lang.String owner, Price price, Quantity quantity, Position pos)
           
 java.lang.String toLogString()
           
 
Methods inherited from class net.commerce.zocalo.ajax.events.PriceAction
getActionLogger, getGID, getNaturalPrice, getOwner, getPos, getPosition, getPrice, getQuantity, getTime, setPos, setTime, timeAndPrice, timeAndPriceInverted, timeAndVolume
 
Methods inherited from class net.commerce.zocalo.ajax.events.Action
callBackPublish, getRenderedMessage, toString
 
Methods inherited from class org.apache.log4j.spi.LoggingEvent
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Redemption

public Redemption(java.lang.String name,
                  Price price,
                  Quantity quantity,
                  Position pos)

Redemption

public Redemption()
Deprecated. 

Method Detail

newRedemption

public static Redemption newRedemption(java.lang.String owner,
                                       Price price,
                                       Quantity quantity,
                                       Position pos)

actionString

protected java.lang.String actionString()
Specified by:
actionString in class PriceAction

toLogString

public java.lang.String toLogString()
Overrides:
toLogString in class PriceAction