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 boolean
canEqual(Object other)
boolean
equals(Object o)
javax.money.MonetaryAmount
getAmount()
The amount of the PaymentTransactionString
getFailureType()
The failure type of the PaymentTransactionString
getGatewayResponseCode()
The gateway response code of the PaymentTransactionString
getId()
The id of the PaymentTransactionString
getParentSourceEntityId()
The parent source entity id of the PaymentTransactionString
getParentSourceEntityType()
The parent source entity type of the PaymentTransactionString
getParentTransactionId()
The parent transaction id of the PaymentTransactionString
getPaymentId()
The id of this payment.String
getRequestId()
The request id of the PaymentTransactionString
getSource()
The source of the PaymentTransactionString
getSourceEntityId()
The source entity id of the PaymentTransactionString
getSourceEntityType()
The source entity type of the PaymentTransactionString
getStatus()
The status of the PaymentTransactionString
getTenantId()
The tenant id that the payment transaction belongs to.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.String
getTransactionReferenceId()
The transaction reference id of the PaymentTransactionString
getType()
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
setId(String id)
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
setSource(String source)
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
setStatus(String status)
The status of the PaymentTransactionvoid
setTenantId(String tenantId)
The tenant id that the payment transaction belongs to.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.void
setTransactionReferenceId(String transactionReferenceId)
The transaction reference id of the PaymentTransactionvoid
setType(String type)
The type of the PaymentTransactionString
toString()
-
-
-
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:
getToken
in 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:
setToken
in interfacecom.broadleafcommerce.common.messaging.Securable
-
canEqual
protected boolean canEqual(Object other)
-
-