com.bea.commerce.ebusiness.tracking.events
Class RemoveFromCartEvent
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.RemoveFromCartEvent
- All Implemented Interfaces
- EventConstants, ConfigurableEntity, Serializable
public class RemoveFromCartEvent
- extends ShoppingEvent
Event for tracking shopping cart removes
- See Also
- Serialized Form
Field Summary |
static String |
TYPE
The event type |
static String |
UNIT_PRICE
Event attribute key name for unit price (used by shopping and buy)
Attribute value is a Double |
static String |
XML_NAMESPACE
The XML namespace for this event |
static String |
XSD_FILE
The XSD file containing the schema for this event |
Constructor Summary |
RemoveFromCartEvent(HttpSession session,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
Double theUnitPrice,
String aCurrency,
String aApplicationName)
Create a new RemoveFromCartEvent. |
RemoveFromCartEvent(String theSessionId,
String theUserId,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
Double theUnitPrice,
String aCurrency,
String aApplicationName)
Deprecated |
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 |
TYPE
public static final String TYPE
- The event type
- See Also
- Constants Summary
XML_NAMESPACE
public static final String XML_NAMESPACE
- The XML namespace for this event
- See Also
- Constants Summary
XSD_FILE
public static final String XSD_FILE
- The XSD file containing the schema for this event
- See Also
- Constants Summary
UNIT_PRICE
public static final String UNIT_PRICE
- Event attribute key name for unit price (used by shopping and buy)
Attribute value is a Double
- See Also
- Constants Summary
RemoveFromCartEvent
public RemoveFromCartEvent(HttpSession session,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
Double theUnitPrice,
String aCurrency,
String aApplicationName)
- Create a new RemoveFromCartEvent.
This ctor must be used to track anonymous users.
- Parameters
session
- the http servlet session objecttheRequest
- 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)
RemoveFromCartEvent
public RemoveFromCartEvent(String theSessionId,
String theUserId,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
Double theUnitPrice,
String aCurrency,
String aApplicationName)
- Deprecated
- Create a new RemoveFromCartEvent.
- Parameters
theSessionId
- from HttpSession.getId()theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknowntheRequest
- 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 © 2006 BEA Systems, Inc. All Rights Reserved