public class CheckoutCompletionEvent extends Object implements Serializable
Constructor and Description |
---|
CheckoutCompletionEvent() |
CheckoutCompletionEvent(com.broadleafcommerce.cart.client.domain.CheckoutCart cart,
String requestId,
com.broadleafcommerce.data.tracking.core.context.ContextInfo info) |
Modifier and Type | Method and Description |
---|---|
com.broadleafcommerce.cart.client.domain.CheckoutCart |
getCart()
The cart object that completed the checkout workflow
|
com.broadleafcommerce.data.tracking.core.context.ContextInfo |
getContextInfo()
The
ContextInfo derived from the original request containing tenant and sandbox info. |
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
|
void |
setCart(com.broadleafcommerce.cart.client.domain.CheckoutCart cart)
The cart object that completed the checkout workflow
|
void |
setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
The
ContextInfo derived from the original request containing tenant and sandbox info. |
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
|
public CheckoutCompletionEvent(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, String requestId, com.broadleafcommerce.data.tracking.core.context.ContextInfo info)
public CheckoutCompletionEvent()
public com.broadleafcommerce.cart.client.domain.CheckoutCart getCart()
public String getRequestId()
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
ContextInfo
derived from the original request containing tenant and sandbox info.ContextInfo
derived from the original requestpublic void setCart(com.broadleafcommerce.cart.client.domain.CheckoutCart cart)
public void setRequestId(String requestId)
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
ContextInfo
derived from the original request containing tenant and sandbox info.Copyright © 2021. All rights reserved.