Class PaymentCaptureAttemptResult
- java.lang.Object
-
- com.broadleafcommerce.orderoperation.service.messaging.capture.PaymentCaptureAttemptResult
-
- All Implemented Interfaces:
Serializable
public class PaymentCaptureAttemptResult extends Object implements Serializable
A message event dispatched after payment has been attempted for a fulfillment.- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaymentCaptureAttemptResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.data.tracking.core.context.ContextInfo
getContextInfo()
TheContextInfo
derived from the original request containing tenant and sandbox info.com.broadleafcommerce.order.client.domain.OrderFulfillment
getFulfillment()
The fulfillment for which payment was capture attemptedcom.broadleafcommerce.order.client.domain.Order
getOrder()
The order object that had payment capture attemptedString
getResult()
The 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
setResult(String result)
The outcome of the attempt to capture payment.
-
-
-
Method Detail
-
getResult
public String getResult()
The outcome of the attempt to capture payment.- See Also:
PaymentCaptureAttemptResultStatus
-
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
public void setResult(String result)
The outcome of the attempt to capture payment.- See Also:
PaymentCaptureAttemptResultStatus
-
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.
-
-