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 TypeMethodDescriptionvoidsendTransactionWebhookMessage(String paymentTransactionContextId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the newNotificationStatestate and sends the message with thePaymentTransactionWebhookProducer.TYPEtype.
-
Method Details
-
sendTransactionWebhookMessage
void sendTransactionWebhookMessage(String paymentTransactionContextId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the newNotificationStatestate and sends the message with thePaymentTransactionWebhookProducer.TYPEtype.- Parameters:
paymentTransactionContextId- the ID of the payment transactioncontextInfo- Request context information around sandbox and multitenant state
-