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
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.com.broadleafcommerce.order.client.domain.OrderFulfillment
The fulfillment for which payment was capture attemptedcom.broadleafcommerce.order.client.domain.Order
getOrder()
The order object that had payment capture attemptedThe outcome of the attempt to capture payment.void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.void
setFulfillment
(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment) The fulfillment for which payment was capture attemptedvoid
setOrder
(com.broadleafcommerce.order.client.domain.Order order) The order object that had payment capture attemptedvoid
The 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()TheContextInfo
derived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfo
derived 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) TheContextInfo
derived from the original request containing tenant and sandbox info.
-