Class PaymentCaptureAttemptResult
java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.capture.PaymentCaptureAttemptResult
- All Implemented Interfaces:
Serializable
A message event dispatched after payment has been attempted for a fulfillment.
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfoderived from the original request containing tenant and sandbox info.com.broadleafcommerce.order.client.domain.OrderFulfillmentThe fulfillment for which payment was capture attemptedcom.broadleafcommerce.order.client.domain.OrdergetOrder()The order object that had payment capture attemptedThe outcome of the attempt to capture payment.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 for which payment was capture attemptedvoidsetOrder(com.broadleafcommerce.order.client.domain.Order order) The order object that had payment capture attemptedvoidThe outcome of the attempt to capture payment.
-
Constructor Details
-
PaymentCaptureAttemptResult
public PaymentCaptureAttemptResult()
-
-
Method Details
-
getResult
The outcome of the attempt to capture payment.- See Also:
-
getOrder
public com.broadleafcommerce.order.client.domain.Order getOrder()The order object that had payment capture attempted -
getFulfillment
public com.broadleafcommerce.order.client.domain.OrderFulfillment getFulfillment()The fulfillment for which payment was capture attempted -
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
-
setResult
The outcome of the attempt to capture payment.- See Also:
-
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order) The order object that had payment capture attempted -
setFulfillment
public void setFulfillment(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) The fulfillment for which payment was capture attempted -
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfoderived from the original request containing tenant and sandbox info.
-