Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      The ContextInfo derived from the original request containing tenant and sandbox info.
      com.broadleafcommerce.order.client.domain.OrderFulfillment getFulfillment()
      The fulfillment for which payment was capture attempted
      com.broadleafcommerce.order.client.domain.Order getOrder()
      The order object that had payment capture attempted
      String getResult()
      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.
    • Constructor Detail

      • PaymentCaptureAttemptResult

        public PaymentCaptureAttemptResult()
    • Method Detail

      • 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
      • 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.