Class PaymentCaptureFailedStatusChangeHandler
java.lang.Object
com.broadleafcommerce.orderoperation.service.handler.AbstractFulfillmentStatusChangeHandler
com.broadleafcommerce.orderoperation.service.handler.PaymentCaptureFailedStatusChangeHandler
- All Implemented Interfaces:
FulfillmentStatusChangeHandler
Handles changing a fulfillment from the status
OrderFulfillmentStatus.CAPTURING_PAYMENT
or OrderFulfillmentStatus.CAPTURE_AWAITING_RESULT
to
OrderFulfillmentStatus.PAYMENT_CAPTURE_FAILED
.-
Constructor Summary
ConstructorDescriptionPaymentCaptureFailedStatusChangeHandler
(FulfillmentSplittingService<com.broadleafcommerce.order.client.domain.OrderFulfillment> splittingService, FulfillmentProvider<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillmentProvider, OrderProvider<com.broadleafcommerce.order.client.domain.Order> orderProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Method Summary
Methods inherited from class com.broadleafcommerce.orderoperation.service.handler.AbstractFulfillmentStatusChangeHandler
addAdditionalOrderFulfillmentFields, addAdditionalOrderFulfillmentFields, canHandle, getDetachedDurableMessageSender, getFulfillmentProvider, getFulfillmentWithChangedStatus, getOrderProvider, getProperties, getSplittingService, getTypeFactory, postProcessStatusChange, process, processSingleFulfillment, processSplitFulfillments, requestingCompleteFulfillment, sendFulfillmentStatusChangeEvent, setDetachedDurableMessageSender, setProperties
-
Constructor Details
-
PaymentCaptureFailedStatusChangeHandler
public PaymentCaptureFailedStatusChangeHandler(FulfillmentSplittingService<com.broadleafcommerce.order.client.domain.OrderFulfillment> splittingService, FulfillmentProvider<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillmentProvider, OrderProvider<com.broadleafcommerce.order.client.domain.Order> orderProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
-
Method Details
-
getValidTargetStatus
- Specified by:
getValidTargetStatus
in classAbstractFulfillmentStatusChangeHandler
-
getValidOriginatingStatuses
- Specified by:
getValidOriginatingStatuses
in classAbstractFulfillmentStatusChangeHandler
-