Interface TransactionWebhookMessageService
- All Known Implementing Classes:
DefaultTransactionWebhookMessageService
public interface TransactionWebhookMessageService
This service is responsible for sending the message that the
PaymentTransaction
state is
changed during processing of the payment webhook.- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendTransactionWebhookMessage
(String paymentTransactionContextId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the newNotificationState
state and sends the message with thePaymentTransactionWebhookProducer.TYPE
type.
-
Method Details
-
sendTransactionWebhookMessage
void sendTransactionWebhookMessage(String paymentTransactionContextId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the newNotificationState
state and sends the message with thePaymentTransactionWebhookProducer.TYPE
type.- Parameters:
paymentTransactionContextId
- the ID of the payment transactioncontextInfo
- Request context information around sandbox and multitenant state
-