Class FulfillmentStatusChangeEvent
- java.lang.Object
 - 
- com.broadleafcommerce.orderoperation.service.messaging.fulfillments.FulfillmentStatusChangeEvent
 
 
- 
- All Implemented Interfaces:
 Serializable
public class FulfillmentStatusChangeEvent extends Object implements Serializable
A message event dispatched after a fulfillment has changed status.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FulfillmentStatusChangeEvent() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)com.broadleafcommerce.data.tracking.core.context.ContextInfogetContextInfo()TheContextInfoderived from the original request containing tenant and sandbox info.com.broadleafcommerce.order.client.domain.OrderFulfillmentgetFulfillment()The fulfillment which changed status.com.broadleafcommerce.order.client.domain.OrdergetOrder()The order which the fulfillment came from.StringgetOriginalStatus()The original status of the fulfillment before the change.FulfillmentStatusChangeRequestgetRequest()The original request leading to the status change.inthashCode()voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)TheContextInfoderived from the original request containing tenant and sandbox info.voidsetFulfillment(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment)The fulfillment which changed status.voidsetOrder(com.broadleafcommerce.order.client.domain.Order order)The order which the fulfillment came from.voidsetOriginalStatus(String originalStatus)The original status of the fulfillment before the change.voidsetRequest(FulfillmentStatusChangeRequest request)The original request leading to the status change.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getRequest
public FulfillmentStatusChangeRequest getRequest()
The original request leading to the status change.- Returns:
 - the original request leading to the status change
 
 
- 
getOriginalStatus
public String getOriginalStatus()
The original status of the fulfillment before the change.- Returns:
 - the original status of the fulfillment before the change
 
 
- 
getFulfillment
public com.broadleafcommerce.order.client.domain.OrderFulfillment getFulfillment()
The fulfillment which changed status.This could be an entire fulfillment which was changed, or the changed part of a newly split fulfillment.
- Returns:
 - the fulfillment which changed status
 
 
- 
getOrder
public com.broadleafcommerce.order.client.domain.Order getOrder()
The order which the fulfillment came from.- Returns:
 - the order the fulfillment came from
 
 
- 
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
TheContextInfoderived from the original request containing tenant and sandbox info.- Returns:
 - The 
ContextInfoderived from the original request 
 
- 
setRequest
public void setRequest(FulfillmentStatusChangeRequest request)
The original request leading to the status change.- Parameters:
 request- the original request leading to the status change
 
- 
setOriginalStatus
public void setOriginalStatus(String originalStatus)
The original status of the fulfillment before the change.- Parameters:
 originalStatus- the original status of the fulfillment before the change
 
- 
setFulfillment
public void setFulfillment(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment)
The fulfillment which changed status.This could be an entire fulfillment which was changed, or the changed part of a newly split fulfillment.
- Parameters:
 fulfillment- the fulfillment which changed status
 
- 
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order)
The order which the fulfillment came from.- Parameters:
 order- the order the fulfillment came from
 
- 
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)TheContextInfoderived from the original request containing tenant and sandbox info. 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -