Class FulfillmentRefundTaxHandler
java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.tax.FulfillmentRefundTaxHandler
@DataRouteByExample(ReturnConfirmedEvent.class)
public class FulfillmentRefundTaxHandler
extends Object
Responsible for creating tax refund transactions on refund events.
-
Constructor Summary
ConstructorDescriptionFulfillmentRefundTaxHandler
(com.broadleafcommerce.tax.delegate.TaxDelegate<com.broadleafcommerce.tax.domain.TaxRequest, com.broadleafcommerce.tax.domain.TaxResponse> taxDelegate, TaxRequestService taxRequestService, com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
listen
(org.springframework.messaging.Message<ReturnConfirmedEvent> message) protected void
processEvent
(org.springframework.messaging.Message<ReturnConfirmedEvent> returnConfirmedEventMessage)
-
Constructor Details
-
FulfillmentRefundTaxHandler
public FulfillmentRefundTaxHandler(com.broadleafcommerce.tax.delegate.TaxDelegate<com.broadleafcommerce.tax.domain.TaxRequest, com.broadleafcommerce.tax.domain.TaxResponse> taxDelegate, TaxRequestService taxRequestService, com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageService)
-
-
Method Details
-
listen
@StreamListener("orderOperationsReturnConfirmedInput") public void listen(org.springframework.messaging.Message<ReturnConfirmedEvent> message) -
processEvent
protected void processEvent(org.springframework.messaging.Message<ReturnConfirmedEvent> returnConfirmedEventMessage)
-