BuyEvent Class
- public class BuyEvent
extends ShoppingEvent
Event for tracking purchases
-
Hierarchy
-
Object
AbstractConfigurableEntity
Event
TrackingEvent
ShoppingEvent
BuyEvent
-
All Implemented Interfaces
-
ConfigurableEntity
, EventConstants
, Serializable
public static final String |
-
ORDER_LINE_ID
- Order line id key
Attribute value is a Long
|
public static final String |
-
TYPE
- The event type
|
public static final String |
-
UNIT_PRICE
- Event attribute key name for unit price (used by shopping and buy)
Attribute value is a Double
|
-
BuyEvent(
String theSessionId, String theUserId, HttpServletRequest theRequest, String aSKU, Double theQuantity, Double theUnitPrice, String aCurrency, String aApplicationName, Long aOrderLineId)
- Create a new BuyEvent.
|
-
BuyEvent(
HttpSession session, HttpServletRequest theRequest, String aSKU, Double theQuantity, Double theUnitPrice, String aCurrency, String aApplicationName, Long aOrderLineId)
- Create a new BuyEvent.
|
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 |
ORDER_LINE_ID
public static final String
ORDER_LINE_ID
- Order line id key
Attribute value is a Long
TYPE
public static final String
TYPE
- The event type
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
BuyEvent
public BuyEvent(String
theSessionId,
String
theUserId,
HttpServletRequest
theRequest,
String
aSKU,
Double
theQuantity,
Double
theUnitPrice,
String
aCurrency,
String
aApplicationName,
Long
aOrderLineId)
- Create a new BuyEvent.
BuyEvent
public BuyEvent(HttpSession
session,
HttpServletRequest
theRequest,
String
aSKU,
Double
theQuantity,
Double
theUnitPrice,
String
aCurrency,
String
aApplicationName,
Long
aOrderLineId)
- Create a new BuyEvent. This ctor must be used to track anonymous users