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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionWebhookEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)javax.money.MonetaryAmountgetAmount()The amount of the PaymentTransactionStringgetFailureType()The failure type of the PaymentTransactionStringgetGatewayResponseCode()The gateway response code of the PaymentTransactionStringgetId()The id of the PaymentTransactionStringgetParentSourceEntityId()The parent source entity id of the PaymentTransactionStringgetParentSourceEntityType()The parent source entity type of the PaymentTransactionStringgetParentTransactionId()The parent transaction id of the PaymentTransactionStringgetPaymentId()The id of this payment.StringgetRequestId()The request id of the PaymentTransactionStringgetSource()The source of the PaymentTransactionStringgetSourceEntityId()The source entity id of the PaymentTransactionStringgetSourceEntityType()The source entity type of the PaymentTransactionStringgetStatus()The status of the PaymentTransactionStringgetTenantId()The tenant id that the payment transaction belongs to.StringgetToken()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.StringgetTransactionReferenceId()The transaction reference id of the PaymentTransactionStringgetType()The type of the PaymentTransactioninthashCode()voidsetAmount(javax.money.MonetaryAmount amount)The amount of the PaymentTransactionvoidsetFailureType(String failureType)The failure type of the PaymentTransactionvoidsetGatewayResponseCode(String gatewayResponseCode)The gateway response code of the PaymentTransactionvoidsetId(String id)The id of the PaymentTransactionvoidsetParentSourceEntityId(String parentSourceEntityId)The parent source entity id of the PaymentTransactionvoidsetParentSourceEntityType(String parentSourceEntityType)The parent source entity type of the PaymentTransactionvoidsetParentTransactionId(String parentTransactionId)The parent transaction id of the PaymentTransactionvoidsetPaymentId(String paymentId)The id of this payment.voidsetRequestId(String requestId)The request id of the PaymentTransactionvoidsetSource(String source)The source of the PaymentTransactionvoidsetSourceEntityId(String sourceEntityId)The source entity id of the PaymentTransactionvoidsetSourceEntityType(String sourceEntityType)The source entity type of the PaymentTransactionvoidsetStatus(String status)The status of the PaymentTransactionvoidsetTenantId(String tenantId)The tenant id that the payment transaction belongs to.voidsetToken(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.voidsetTransactionReferenceId(String transactionReferenceId)The transaction reference id of the PaymentTransactionvoidsetType(String type)The type of the PaymentTransactionStringtoString()
-
-
-
Method Detail
-
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:
getTokenin interfacecom.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:
setTokenin interfacecom.broadleafcommerce.common.messaging.Securable
-
canEqual
protected boolean canEqual(Object other)
-
-