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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.data.tracking.core.context.ContextInfo
    The ContextInfo derived from the original request containing tenant and sandbox info.
    com.broadleafcommerce.order.client.domain.OrderFulfillment
    The fulfillment for which payment was capture attempted
    com.broadleafcommerce.order.client.domain.Order
    The order object that had payment capture attempted
    The outcome of the attempt to capture payment.
    void
    setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    The ContextInfo 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 attempted
    void
    setOrder(com.broadleafcommerce.order.client.domain.Order order)
    The order object that had payment capture attempted
    void
    setResult(String result)
    The outcome of the attempt to capture payment.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaymentCaptureAttemptResult

      public PaymentCaptureAttemptResult()
  • Method Details

    • getResult

      public String 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()
      The ContextInfo 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:
    • 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)
      The ContextInfo derived from the original request containing tenant and sandbox info.