Fired when a cart's fulfilment status changes, eg to shipped or delivered. Raised by CartManager.setFulfillmentStatus whenever the status set on a cart differs from its current one. It is a funnel event, so it can begin or advance a journey aimed at the profile who placed the order, and its toProps carries urns for the cart and website so the change can be described to an LLM or passed to an external system.
Group: Journeys
Implements: Event, FunnelEvent, CommonAppEvent
Properties
| Property | Returns | Description |
|---|---|---|
| cart | Cart | The cart whose fulfilment status changed, as supplied to the constructor. Never null. |
| leadProfile | Profile | The profile that placed the order, ie the person a funnel journey started from this event applies to. |
| profile | Profile | The profile that placed the order, taken from the cart's profile. |
| relatedLead | Lead | Always null - a fulfilment status change is not raised against an existing funnel lead. |
| website | Website | The website the cart's order was placed on, as supplied to the constructor. |
Methods
toProps()
Returns: Map<String,Serializable>
Builds the serialisable properties for this event, with urns pointing to its website and cart, for passing to external systems such as an LLM.
getWebsite()
Returns: Website
The website the cart's order was placed on, as supplied to the constructor.
getProfile()
Returns: Profile
The profile that placed the order, taken from the cart's profile.
getCart()
Returns: Cart
The cart whose fulfilment status changed, as supplied to the constructor. Never null.
getLeadProfile()
Returns: Profile
The profile that placed the order, ie the person a funnel journey started from this event applies to.
getRelatedLead()
Returns: Lead
Always null - a fulfilment status change is not raised against an existing funnel lead.