com.bea.commerce.ebusiness.tracking.events
Class PurchaseCartEvent
java.lang.Object
|
+--com.beasys.commerce.foundation.AbstractConfigurableEntity
|
+--com.bea.commerce.platform.events.Event
|
+--com.bea.commerce.platform.tracking.events.TrackingEvent
|
+--com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
|
+--com.bea.commerce.ebusiness.tracking.events.PurchaseCartEvent
- All Implemented Interfaces:
- BusinessPolicyManager, ConfigurableEntity, EventConstants, java.io.Serializable
- public class PurchaseCartEvent
- extends ShoppingEvent
Event for tracking the purchase of an entire shopping cart.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ORDER_ID
Order id key
Attribute value is a Long |
static java.lang.String |
TOTAL_PRICE
Event attribute key name for the total cost of the shopping cart
Attribute value is a Double |
static java.lang.String |
TYPE
The event type |
Constructor Summary |
PurchaseCartEvent(java.lang.String theSessionId,
java.lang.String theUserId,
javax.servlet.http.HttpServletRequest theRequest,
java.lang.Double theTotalPrice,
java.lang.String theOrderId,
java.lang.String aCurrency,
java.lang.String aApplicationName)
Create a new PurchaseCartEvent. |
Methods inherited from class com.beasys.commerce.foundation.AbstractConfigurableEntity |
addBusinessPolicy, addPropertyValue, addPropertyValueMapped, getBusinessPolicy, getPersistableHandle, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeBusinessPolicy, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.beasys.commerce.foundation.ConfigurableEntity |
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor |
TYPE
public static final java.lang.String TYPE
- The event type
TOTAL_PRICE
public static final java.lang.String TOTAL_PRICE
- Event attribute key name for the total cost of the shopping cart
Attribute value is a Double
ORDER_ID
public static final java.lang.String ORDER_ID
- Order id key
Attribute value is a Long
PurchaseCartEvent
public PurchaseCartEvent(java.lang.String theSessionId,
java.lang.String theUserId,
javax.servlet.http.HttpServletRequest theRequest,
java.lang.Double theTotalPrice,
java.lang.String theOrderId,
java.lang.String aCurrency,
java.lang.String aApplicationName)
- Create a new PurchaseCartEvent.
- Parameters:
theSessionId
- from HttpSession.getId()theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)theRequest
- the http servlet request objecttheTotalPrice
- the shopping cart's total pricetheOrderId
- the order id for the orderaCurrency
- the currency (null if unknown)aApplicationName
- application name (aka storefront) (optionally null)
Copyright © 2001 BEA Systems, Inc. All Rights Reserved