Class FulfillmentStatusChangeEvent
java.lang.Object
com.broadleafcommerce.pricing.service.messaging.rollback.FulfillmentStatusChangeEvent
- All Implemented Interfaces:
Serializable
A message event dispatched when an order fulfillment is cancelled and must roll back the work on
the pricing side.
- Author:
- karanjariwala
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.useOrderFulfillmentinsteadstatic classDeprecated, for removal: This API element is subject to removal in a future version.useOrderFulfillmentIteminsteadstatic classDeprecated, for removal: This API element is subject to removal in a future version.useOrderIteminstead -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.context.ContextInfoThe context infoDeprecated.usefulfillmentIdinsteadGet the fulfillment id from the event.getOrder()Deprecated.use {@link #orderId) insteadGet the order id from the event.voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) The context infovoidDeprecated.usefulfillmentIdinsteadvoidsetFulfillmentId(String fulfillmentId) The fulfillmentId of the fulfillment which changed status.voidDeprecated.use {@link #orderId) insteadvoidsetOrderId(String orderId) The orderId of the order which the fulfillment came from.
-
Constructor Details
-
FulfillmentStatusChangeEvent
public FulfillmentStatusChangeEvent()
-
-
Method Details
-
getOrderId
Get the order id from the event.- Returns:
- the order id
-
getFulfillmentId
Get the fulfillment id from the event.- Returns:
- the fulfillment id
-
getOrder
Deprecated.use {@link #orderId) insteadThe order which the fulfillment came from. -
getFulfillment
Deprecated.usefulfillmentIdinsteadThe fulfillment that was cancelled -
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()The context info -
setOrder
Deprecated.use {@link #orderId) insteadThe order which the fulfillment came from. -
setOrderId
The orderId of the order which the fulfillment came from. -
setFulfillment
Deprecated.usefulfillmentIdinsteadThe fulfillment that was cancelled -
setFulfillmentId
The fulfillmentId of the fulfillment which changed status. -
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) The context info
-
Orderinstead