PurchaseCartEvent Class

com.bea.commerce.ebusiness.tracking.events
PurchaseCartEvent Class

public class PurchaseCartEvent

    extends ShoppingEvent

Event for tracking the purchase of an entire shopping cart.


Hierarchy
Object
  AbstractConfigurableEntity
    Event
      TrackingEvent
        ShoppingEvent
          PurchaseCartEvent
All Implemented Interfaces

ConfigurableEntity, EventConstants, Serializable

Field Summary

public static final String
ORDER_ID
Order id key Attribute value is a Long
public static final String
TOTAL_PRICE
Event attribute key name for the total cost of the shopping cart Attribute value is a Double
public static final String
TYPE
The event type
   
Fields from  com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
APPLICATION_NAME, CURRENCY, QUANTITY, SKU
 
Fields from  com.bea.p13n.tracking.events.TrackingEvent
APPLICATION, REQUEST, SESSION_ID, USER_ID, USER_TYPE
 
Fields from  com.bea.p13n.property.AbstractConfigurableEntity
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter
 
Fields from interface com.bea.p13n.property.ConfigurableEntity
RESERVED_PROPERTY_SET
 
Fields from interface com.bea.p13n.events.EventConstants
TYPE_ALL
 

Constructor Summary

PurchaseCartEvent(String theSessionId, String theUserId, HttpServletRequest theRequest, Double theTotalPrice, String theOrderId, String aCurrency, String aApplicationName)

Create a new PurchaseCartEvent.
PurchaseCartEvent(HttpSession session, HttpServletRequest theRequest, Double theTotalPrice, String theOrderId, String aCurrency, String aApplicationName)

Create a new PurchaseCartEvent.
 

Method Summary

 
Methods from  com.bea.p13n.tracking.events.TrackingEvent
getSchemaKeys, getSession, getXMLNamespace, getXSDFile, setSchemaKeys, setSession, setXMLNamespace, setXSDFile
 
Methods from  com.bea.p13n.events.Event
getApplication, getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setApplication, setAttribute, toString
 
Methods from  com.bea.p13n.property.AbstractConfigurableEntity
createMapKey, getCachedProperty, getExplicitProperty, getExplicitSetter, getImplicitProperty, getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyCache, getPropertyNoDefault, getUniqueId, hasExplicitGetter, hasExplicitSetter, removeExplicitProperty, removeProperty, setExplicitProperty, setProperty, upcaseFirst
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.p13n.property.ConfigurableEntity
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty
 

Field Detail

ORDER_ID

public static final String ORDER_ID
Order id key Attribute value is a Long


TOTAL_PRICE

public static final String TOTAL_PRICE
Event attribute key name for the total cost of the shopping cart Attribute value is a Double


TYPE

public static final String TYPE
The event type

 

Constructor Detail

PurchaseCartEvent

public PurchaseCartEvent(String theSessionId, 
                         String theUserId, 
                         HttpServletRequest theRequest, 
                         Double theTotalPrice, 
                         String theOrderId, 
                         String aCurrency, 
                         String aApplicationName)
Create a new PurchaseCartEvent.

PurchaseCartEvent

public PurchaseCartEvent(HttpSession session, 
                         HttpServletRequest theRequest, 
                         Double theTotalPrice, 
                         String theOrderId, 
                         String aCurrency, 
                         String aApplicationName)
Create a new PurchaseCartEvent. This ctor must be used to track anonymous users.