Uses of Class
com.broadleafcommerce.orderoperation.service.messaging.transactionwebhook.TransactionWebhookEvent
-
Uses of TransactionWebhookEvent in com.broadleafcommerce.orderoperation.service.messaging.transactionwebhook
Modifier and TypeMethodDescriptionprotected PaymentCaptureAttemptResultStatus
FulfillmentCaptureWebhookListener.determineCaptureResultStatus
(@NonNull TransactionWebhookEvent event, @NonNull com.broadleafcommerce.order.client.domain.Order order, @NonNull com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines thePaymentCaptureAttemptResultStatus
based on the latest transaction state for the givenOrderFulfillment
.protected com.broadleafcommerce.order.client.domain.Order
ReturnConfirmationRefundWebhookListener.getOrder
(@NonNull TransactionWebhookEvent transactionWebhookEvent, @NonNull com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets theOrder
associated to the givenTransactionWebhookEvent
.protected com.broadleafcommerce.order.client.domain.OrderFulfillment
FulfillmentAwaitingRefundResultWebhookListener.getOrderFulfillment
(@NonNull TransactionWebhookEvent transactionWebhookEvent, @NonNull com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets theOrderFulfillment
associated to the givenTransactionWebhookEvent
.protected org.apache.commons.lang3.tuple.Pair<com.broadleafcommerce.order.client.domain.ReturnAuthorization,
com.broadleafcommerce.order.client.domain.ReturnConfirmation> ReturnConfirmationRefundWebhookListener.getReturnAuthorizationAndConfirmation
(@NonNull TransactionWebhookEvent transactionWebhookEvent, @NonNull String orderId, @NonNull com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
FulfillmentAwaitingRefundResultWebhookListener.process
(@NonNull TransactionWebhookEvent event) Processes the givenTransactionWebhookEvent
and updates the associatedOrderFulfillment
status.protected void
FulfillmentCaptureWebhookListener.process
(@NonNull TransactionWebhookEvent event) Processes the givenTransactionWebhookEvent
and updates the associatedOrderFulfillment
accordingly.protected void
ReturnConfirmationRefundWebhookListener.process
(@NonNull TransactionWebhookEvent event) Processes the givenTransactionWebhookEvent
and updates the associatedReturnAuthorization
andReturnConfirmation
accordingly.protected boolean
FulfillmentAwaitingRefundResultWebhookListener.shouldProcessEvent
(@NonNull TransactionWebhookEvent event) Determines if the givenTransactionWebhookEvent
should be processed.protected boolean
FulfillmentCaptureWebhookListener.shouldProcessEvent
(@NonNull TransactionWebhookEvent event) Determines if the givenTransactionWebhookEvent
should be processed.protected boolean
ReturnConfirmationRefundWebhookListener.shouldProcessEvent
(@NonNull TransactionWebhookEvent event) Determines if the givenTransactionWebhookEvent
should be processed.protected com.broadleafcommerce.order.client.domain.ReturnAuthorization
ReturnConfirmationRefundWebhookListener.updateReturnConfirmationAndAuthorization
(@NonNull com.broadleafcommerce.order.client.domain.ReturnConfirmation confirmation, @NonNull com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuth, @NonNull com.broadleafcommerce.order.client.domain.Order order, @NonNull TransactionWebhookEvent event, @NonNull com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Updates the givenReturnConfirmation
andReturnAuthorization
based on the latest transaction state.Modifier and TypeMethodDescriptionvoid
FulfillmentAwaitingRefundResultWebhookListener.listen
(org.springframework.messaging.Message<TransactionWebhookEvent> message) void
FulfillmentCaptureWebhookListener.listen
(org.springframework.messaging.Message<TransactionWebhookEvent> message) void
ReturnConfirmationRefundWebhookListener.listen
(org.springframework.messaging.Message<TransactionWebhookEvent> message) protected void
FulfillmentAwaitingRefundResultWebhookListener.processMessage
(@NonNull org.springframework.messaging.Message<TransactionWebhookEvent> message) protected void
FulfillmentCaptureWebhookListener.processMessage
(@NonNull org.springframework.messaging.Message<TransactionWebhookEvent> message) protected void
ReturnConfirmationRefundWebhookListener.processMessage
(@NonNull org.springframework.messaging.Message<TransactionWebhookEvent> message)