Class CheckoutCompletionEvent
- java.lang.Object
- 
- com.broadleafcommerce.cart.service.messaging.event.CheckoutCompletionEvent
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class CheckoutCompletionEvent extends Object implements Serializable A message event dispatched after a cart checkout completes successfully. This event should be consumed by services that need to perform any post-checkout activities.- Author:
- Jon Fleschler (jfleschler)
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CheckoutCompletionEvent()CheckoutCompletionEvent(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, List<PaymentSummary> paymentSummaries, String requestId, com.broadleafcommerce.data.tracking.core.context.ContextInfo info)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.cart.client.domain.CheckoutCartgetCart()The cart object that completed the checkout workflowcom.broadleafcommerce.data.tracking.core.context.ContextInfogetContextInfo()TheContextInfoderived from the original request containing tenant and sandbox info.List<PaymentSummary>getPaymentSummaries()The payments for the cart that completed the checkout workflowStringgetRequestId()The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled backvoidsetCart(com.broadleafcommerce.cart.client.domain.CheckoutCart cart)The cart object that completed the checkout workflowvoidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)TheContextInfoderived from the original request containing tenant and sandbox info.voidsetPaymentSummaries(List<PaymentSummary> paymentSummaries)The payments for the cart that completed the checkout workflowvoidsetRequestId(String requestId)The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back
 
- 
- 
- 
Constructor Detail- 
CheckoutCompletionEventpublic CheckoutCompletionEvent(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, List<PaymentSummary> paymentSummaries, String requestId, com.broadleafcommerce.data.tracking.core.context.ContextInfo info)
 - 
CheckoutCompletionEventpublic CheckoutCompletionEvent() 
 
- 
 - 
Method Detail- 
getCartpublic com.broadleafcommerce.cart.client.domain.CheckoutCart getCart() The cart object that completed the checkout workflow
 - 
getPaymentSummariespublic List<PaymentSummary> getPaymentSummaries() The payments for the cart that completed the checkout workflow
 - 
getRequestIdpublic String getRequestId() The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back- Returns:
- The id representing this request to checkout
 
 - 
getContextInfopublic 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
 
 - 
setCartpublic void setCart(com.broadleafcommerce.cart.client.domain.CheckoutCart cart) The cart object that completed the checkout workflow
 - 
setPaymentSummariespublic void setPaymentSummaries(List<PaymentSummary> paymentSummaries) The payments for the cart that completed the checkout workflow
 - 
setRequestIdpublic void setRequestId(String requestId) The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back
 - 
setContextInfopublic void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfoderived from the original request containing tenant and sandbox info.
 
- 
 
-