com.bea.commerce.ebusiness.tracking.events
Class AddToCartEvent
java.lang.Object
|
+--com.bea.p13n.property.AbstractConfigurableEntity
|
+--com.bea.p13n.events.Event
|
+--com.bea.p13n.tracking.events.TrackingEvent
|
+--com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
|
+--com.bea.commerce.ebusiness.tracking.events.AddToCartEvent
- public class AddToCartEvent
- extends ShoppingEvent
Event for tracking additions to shopping cart
- See Also:
- Serialized Form
Field Summary
|
static java.lang.String |
TYPE
The event type |
static java.lang.String |
UNIT_LIST_PRICE
Event attribute key name for unit price
Attribute value is a Double |
Constructor Summary
|
AddToCartEvent(java.lang.String theSessionId,
java.lang.String theUserId,
javax.servlet.http.HttpServletRequest theRequest,
java.lang.String aSKU,
java.lang.Double theQuantity,
java.lang.Double theUnitPrice,
java.lang.String aCurrency,
java.lang.String aApplicationName)
Create a new AddToCartEvent. |
Methods inherited from class com.bea.p13n.property.AbstractConfigurableEntity |
createMapKey,
getCachedProperty,
getExplicitProperty,
getExplicitSetter,
getImplicitProperty,
getJndiName,
getPkString,
getPropertyAsString,
getPropertyCache,
getPropertyNoDefault,
getUniqueId,
hasExplicitGetter,
hasExplicitSetter,
removeExplicitProperty,
removeProperty,
setExplicitProperty,
setProperty,
upcaseFirst |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TYPE
public static final java.lang.String TYPE
- The event type
UNIT_LIST_PRICE
public static final java.lang.String UNIT_LIST_PRICE
- Event attribute key name for unit price
Attribute value is a Double
AddToCartEvent
public AddToCartEvent(java.lang.String theSessionId,
java.lang.String theUserId,
javax.servlet.http.HttpServletRequest theRequest,
java.lang.String aSKU,
java.lang.Double theQuantity,
java.lang.Double theUnitPrice,
java.lang.String aCurrency,
java.lang.String aApplicationName)
- Create a new AddToCartEvent.
- Parameters:
theSessionId
- from HttpSession.getId()theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)theRequest
- the http servlet request objectaSKU
- SKU of the item (optionally null)theQuantity
- quantity of itemtheUnitPrice
- price per unit quantity of the itemaCurrency
- the currency (null if unknown)aApplicationName
- application name (aka storefront) (optionally null)
Copyright © 2002 BEA Systems, Inc. All Rights Reserved