Class ReturnConfirmedEvent
- java.lang.Object
-
- com.broadleafcommerce.orderoperation.service.messaging.returns.ReturnConfirmedEvent
-
- All Implemented Interfaces:
Serializable
public class ReturnConfirmedEvent extends Object implements Serializable
A message event dispatched after aReturnAuthorization
has newReturnConfirmations
applied.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReturnConfirmedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
com.broadleafcommerce.data.tracking.core.context.ContextInfo
getContextInfo()
TheContextInfo
derived from the original request containing tenant and sandbox info.List<com.broadleafcommerce.order.client.domain.OrderFulfillment>
getFulfillments()
The fulfillments associated with the order being returned from.com.broadleafcommerce.order.client.domain.Order
getOrder()
The order being returned from.ConfirmReturnRequest
getRequest()
The original request leading to the return creation.com.broadleafcommerce.order.client.domain.ReturnAuthorization
getReturnAuthorization()
The return which was updated with newReturnConfirmations
.int
hashCode()
void
setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
TheContextInfo
derived from the original request containing tenant and sandbox info.void
setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments)
The fulfillments associated with the order being returned from.void
setOrder(com.broadleafcommerce.order.client.domain.Order order)
The order being returned from.void
setRequest(ConfirmReturnRequest request)
The original request leading to the return creation.void
setReturnAuthorization(com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuthorization)
The return which was updated with newReturnConfirmations
.String
toString()
-
-
-
Method Detail
-
getRequest
public ConfirmReturnRequest getRequest()
The original request leading to the return creation.- Returns:
- the original request leading to the return creation
-
getReturnAuthorization
public com.broadleafcommerce.order.client.domain.ReturnAuthorization getReturnAuthorization()
The return which was updated with newReturnConfirmations
.- Returns:
- the return which was updated with new
ReturnConfirmations
-
getOrder
public com.broadleafcommerce.order.client.domain.Order getOrder()
The order being returned from.- Returns:
- the order being returned from
-
getFulfillments
public List<com.broadleafcommerce.order.client.domain.OrderFulfillment> getFulfillments()
The fulfillments associated with the order being returned from.- Returns:
- the fulfillments associated with the order being returned from
-
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
TheContextInfo
derived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfo
derived from the original request
-
setRequest
public void setRequest(ConfirmReturnRequest request)
The original request leading to the return creation.- Parameters:
the
- original request leading to the return creation
-
setReturnAuthorization
public void setReturnAuthorization(com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuthorization)
The return which was updated with newReturnConfirmations
.- Parameters:
returnAuthorization
- the return which was updated with newReturnConfirmations
-
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order)
The order being returned from.- Parameters:
order
- the order being returned from
-
setFulfillments
public void setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments)
The fulfillments associated with the order being returned from.- Parameters:
fulfillments
- the fulfillments associated with the order being returned from
-
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
TheContextInfo
derived from the original request containing tenant and sandbox info.
-
canEqual
protected boolean canEqual(Object other)
-
-