java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.transactionwebhook.TransactionWebhookEvent
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.Securable, Serializable

public class TransactionWebhookEvent extends Object implements com.broadleafcommerce.common.messaging.Securable, Serializable
A message event dispatched after a PaymentTransaction has been executed.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • TransactionWebhookEvent

      public TransactionWebhookEvent()
  • Method Details

    • getId

      public String getId()
      The id of the PaymentTransaction
    • getType

      public String getType()
      The type of the PaymentTransaction
    • getTransactionReferenceId

      public String getTransactionReferenceId()
      The transaction reference id of the PaymentTransaction
    • getRequestId

      public String getRequestId()
      The request id of the PaymentTransaction
    • getStatus

      public String getStatus()
      The status of the PaymentTransaction
    • getAmount

      public javax.money.MonetaryAmount getAmount()
      The amount of the PaymentTransaction
    • getPaymentId

      public String getPaymentId()
      The id of this payment.
    • getParentTransactionId

      public String getParentTransactionId()
      The parent transaction id of the PaymentTransaction
    • getSource

      public String getSource()
      The source of the PaymentTransaction
    • getParentSourceEntityType

      public String getParentSourceEntityType()
      The parent source entity type of the PaymentTransaction
    • getParentSourceEntityId

      public String getParentSourceEntityId()
      The parent source entity id of the PaymentTransaction
    • getSourceEntityType

      public String getSourceEntityType()
      The source entity type of the PaymentTransaction
    • getSourceEntityId

      public String getSourceEntityId()
      The source entity id of the PaymentTransaction
    • getFailureType

      public String getFailureType()
      The failure type of the PaymentTransaction
    • getGatewayResponseCode

      public String getGatewayResponseCode()
      The gateway response code of the PaymentTransaction
    • getTenantId

      public String getTenantId()
      The tenant id that the payment transaction belongs to.
    • getToken

      public String getToken()
      A Base64 encoded JWT token that can be verified for authenticity and that contains claims about the messages originating user that can be validated for suitability of consumption in the current context.
      Specified by:
      getToken in interface com.broadleafcommerce.common.messaging.Securable
    • setId

      public void setId(String id)
      The id of the PaymentTransaction
    • setType

      public void setType(String type)
      The type of the PaymentTransaction
    • setTransactionReferenceId

      public void setTransactionReferenceId(String transactionReferenceId)
      The transaction reference id of the PaymentTransaction
    • setRequestId

      public void setRequestId(String requestId)
      The request id of the PaymentTransaction
    • setStatus

      public void setStatus(String status)
      The status of the PaymentTransaction
    • setAmount

      public void setAmount(javax.money.MonetaryAmount amount)
      The amount of the PaymentTransaction
    • setPaymentId

      public void setPaymentId(String paymentId)
      The id of this payment.
    • setParentTransactionId

      public void setParentTransactionId(String parentTransactionId)
      The parent transaction id of the PaymentTransaction
    • setSource

      public void setSource(String source)
      The source of the PaymentTransaction
    • setParentSourceEntityType

      public void setParentSourceEntityType(String parentSourceEntityType)
      The parent source entity type of the PaymentTransaction
    • setParentSourceEntityId

      public void setParentSourceEntityId(String parentSourceEntityId)
      The parent source entity id of the PaymentTransaction
    • setSourceEntityType

      public void setSourceEntityType(String sourceEntityType)
      The source entity type of the PaymentTransaction
    • setSourceEntityId

      public void setSourceEntityId(String sourceEntityId)
      The source entity id of the PaymentTransaction
    • setFailureType

      public void setFailureType(String failureType)
      The failure type of the PaymentTransaction
    • setGatewayResponseCode

      public void setGatewayResponseCode(String gatewayResponseCode)
      The gateway response code of the PaymentTransaction
    • setTenantId

      public void setTenantId(String tenantId)
      The tenant id that the payment transaction belongs to.
    • setToken

      public void setToken(String token)
      A Base64 encoded JWT token that can be verified for authenticity and that contains claims about the messages originating user that can be validated for suitability of consumption in the current context.
      Specified by:
      setToken in interface com.broadleafcommerce.common.messaging.Securable
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object