Class FraudCheckOrderAction
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.yacceleratorordermanagement.actions.order.AbstractOrderAction<T>
de.hybris.platform.yacceleratorordermanagement.actions.order.fraudcheck.AbstractFraudCheckAction<OrderProcessModel>
de.hybris.platform.yacceleratorordermanagement.actions.order.fraudcheck.FraudCheckOrderAction
- All Implemented Interfaces:
Action<OrderProcessModel>
Check for fraudulent order.
If a fraud is detected, the process transitions to FRAUD and the order will be cancelled.
If no fraud is detected, the process transitions to OK and the order will be sourced.
If the order is deemed potentially fraudulent, the process transitions to POTENTIAL and the order must be approved/declined by a customer support agent.
If a fraud is detected, the process transitions to FRAUD and the order will be cancelled.
If no fraud is detected, the process transitions to OK and the order will be sourced.
If the order is deemed potentially fraudulent, the process transitions to POTENTIAL and the order must be approved/declined by a customer support agent.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.yacceleratorordermanagement.actions.order.fraudcheck.AbstractFraudCheckAction
AbstractFraudCheckAction.Transition -
Field Summary
Fields inherited from class de.hybris.platform.yacceleratorordermanagement.actions.order.AbstractOrderAction
timeServiceFields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteAction(OrderProcessModel process) Executes thisAction's business logic working on the givenBusinessProcessModel.protected FraudServiceprotected Stringprotected Doubleprotected DoublevoidsetFraudService(FraudService fraudService) voidsetProviderName(String providerName) voidsetScoreLimit(Double scoreLimit) voidsetScoreTolerance(Double scoreTolerance) Methods inherited from class de.hybris.platform.yacceleratorordermanagement.actions.order.fraudcheck.AbstractFraudCheckAction
createFraudReport, createHistoryLog, execute, getTransitionsMethods inherited from class de.hybris.platform.yacceleratorordermanagement.actions.order.AbstractOrderAction
createHistoryLog, getTimeService, setTimeServiceMethods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
Constructor Details
-
FraudCheckOrderAction
public FraudCheckOrderAction()
-
-
Method Details
-
executeAction
Description copied from class:AbstractFraudCheckActionExecutes thisAction's business logic working on the givenBusinessProcessModel.- Specified by:
executeActionin classAbstractFraudCheckAction<OrderProcessModel>- Parameters:
process- - the process context to work on.- Returns:
- OK; FRAUD; POTENTIAL
-
getConfig
-
getFraudService
-
setFraudService
-
getProviderName
-
setProviderName
-
getScoreLimit
-
setScoreLimit
-
getScoreTolerance
-
setScoreTolerance
-