# com.bea.commerce.ebusiness.tracking.events
RemoveFromCartEvent Class

public class RemoveFromCartEvent
extends `ShoppingEvent`

Event for tracking shopping cart removes

Hierarchy
  `Object`
  `AbstractConfigurableEntity`
  `Event`
  `TrackingEvent`
  `ShoppingEvent`
  `RemoveFromCartEvent`

All Implemented Interfaces
  `ConfigurableEntity`, `EventConstants`, `Serializable`

## Field Summary

`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
`public static final `String`` | `XML_NAMESPACE` The XML namespace for this event
`public static final `String`` | `XSD_FILE` The XSD file containing the schema for this event

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

RemoveFromCartEvent(`String` theSessionId, `String` theUserId, `HttpServletRequest` theRequest, `String` aSKU, `Double` theQuantity, `Double` theUnitPrice, `String` aCurrency, `String` aApplicationName) Create a new RemoveFromCartEvent.
RemoveFromCartEvent(`HttpSession` session, `HttpServletRequest` theRequest, `String` aSKU, `Double` theQuantity, `Double` theUnitPrice, `String` aCurrency, `String` aApplicationName) Create a new RemoveFromCartEvent.

## 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

### 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

### XML_NAMESPACE

    public static final String XML_NAMESPACE

  The XML namespace for this event

### XSD_FILE

    public static final String XSD_FILE

  The XSD file containing the schema for this event

## Constructor Detail

### RemoveFromCartEvent

    public RemoveFromCartEvent(String theSessionId,
                               String theUserId,
                               HttpServletRequest theRequest,
                               String aSKU,
                               Double theQuantity,
                               Double theUnitPrice,
                               String aCurrency,
                               String aApplicationName)

  Create a new RemoveFromCartEvent.

### 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.