Class TransactionWebhookEvent
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
The amount of the PaymentTransactionThe failure type of the PaymentTransactionThe gateway response code of the PaymentTransactiongetId()
The id of the PaymentTransactionThe parent source entity id of the PaymentTransactionThe parent source entity type of the PaymentTransactionThe parent transaction id of the PaymentTransactionThe id of this payment.The request id of the PaymentTransactionThe source of the PaymentTransactionThe source entity id of the PaymentTransactionThe source entity type of the PaymentTransactionThe status of the PaymentTransactionThe tenant id that the payment transaction belongs to.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.The transaction reference id of the PaymentTransactiongetType()
The type of the PaymentTransactionint
hashCode()
void
setAmount
(javax.money.MonetaryAmount amount) The amount of the PaymentTransactionvoid
setFailureType
(String failureType) The failure type of the PaymentTransactionvoid
setGatewayResponseCode
(String gatewayResponseCode) The gateway response code of the PaymentTransactionvoid
The id of the PaymentTransactionvoid
setParentSourceEntityId
(String parentSourceEntityId) The parent source entity id of the PaymentTransactionvoid
setParentSourceEntityType
(String parentSourceEntityType) The parent source entity type of the PaymentTransactionvoid
setParentTransactionId
(String parentTransactionId) The parent transaction id of the PaymentTransactionvoid
setPaymentId
(String paymentId) The id of this payment.void
setRequestId
(String requestId) The request id of the PaymentTransactionvoid
The source of the PaymentTransactionvoid
setSourceEntityId
(String sourceEntityId) The source entity id of the PaymentTransactionvoid
setSourceEntityType
(String sourceEntityType) The source entity type of the PaymentTransactionvoid
The status of the PaymentTransactionvoid
setTenantId
(String tenantId) The tenant id that the payment transaction belongs to.void
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.void
setTransactionReferenceId
(String transactionReferenceId) The transaction reference id of the PaymentTransactionvoid
The type of the PaymentTransactiontoString()
-
Constructor Details
-
TransactionWebhookEvent
public TransactionWebhookEvent()
-
-
Method Details
-
getId
The id of the PaymentTransaction -
getType
The type of the PaymentTransaction -
getTransactionReferenceId
The transaction reference id of the PaymentTransaction -
getRequestId
The request id of the PaymentTransaction -
getStatus
The status of the PaymentTransaction -
getAmount
public javax.money.MonetaryAmount getAmount()The amount of the PaymentTransaction -
getPaymentId
The id of this payment. -
getParentTransactionId
The parent transaction id of the PaymentTransaction -
getSource
The source of the PaymentTransaction -
getParentSourceEntityType
The parent source entity type of the PaymentTransaction -
getParentSourceEntityId
The parent source entity id of the PaymentTransaction -
getSourceEntityType
The source entity type of the PaymentTransaction -
getSourceEntityId
The source entity id of the PaymentTransaction -
getFailureType
The failure type of the PaymentTransaction -
getGatewayResponseCode
The gateway response code of the PaymentTransaction -
getTenantId
The tenant id that the payment transaction belongs to. -
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 interfacecom.broadleafcommerce.common.messaging.Securable
-
setId
The id of the PaymentTransaction -
setType
The type of the PaymentTransaction -
setTransactionReferenceId
The transaction reference id of the PaymentTransaction -
setRequestId
The request id of the PaymentTransaction -
setStatus
The status of the PaymentTransaction -
setAmount
public void setAmount(javax.money.MonetaryAmount amount) The amount of the PaymentTransaction -
setPaymentId
The id of this payment. -
setParentTransactionId
The parent transaction id of the PaymentTransaction -
setSource
The source of the PaymentTransaction -
setParentSourceEntityType
The parent source entity type of the PaymentTransaction -
setParentSourceEntityId
The parent source entity id of the PaymentTransaction -
setSourceEntityType
The source entity type of the PaymentTransaction -
setSourceEntityId
The source entity id of the PaymentTransaction -
setFailureType
The failure type of the PaymentTransaction -
setGatewayResponseCode
The gateway response code of the PaymentTransaction -
setTenantId
The tenant id that the payment transaction belongs to. -
setToken
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 interfacecom.broadleafcommerce.common.messaging.Securable
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-