Class AbstractOrderFraudSymptomDetection
- java.lang.Object
-
- de.hybris.platform.fraud.strategy.AbstractOrderFraudSymptomDetection
-
- All Implemented Interfaces:
OrderFraudSymptomDetection
- Direct Known Subclasses:
BlackListSymptom
,DifferentAddressesSymptom
,FirstTimeOrderSymptom
,OrderEntriesSymptom
,OrderThresholdSymptom
,WhiteListSymptom
public abstract class AbstractOrderFraudSymptomDetection extends java.lang.Object implements OrderFraudSymptomDetection
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEFAULT_INCREMENT
-
Constructor Summary
Constructors Constructor Description AbstractOrderFraudSymptomDetection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FraudSymptom
createSymptom(boolean positive)
protected FraudSymptom
createSymptom(java.lang.String explanation, boolean positive)
double
getIncrement()
java.lang.String
getStrategyName()
java.lang.String
getSymptomName()
void
setIncrement(double increment)
void
setSymptomName(java.lang.String name)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.fraud.strategy.OrderFraudSymptomDetection
recognizeSymptom
-
-
-
-
Field Detail
-
DEFAULT_INCREMENT
public static final double DEFAULT_INCREMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSymptom
protected FraudSymptom createSymptom(boolean positive)
-
createSymptom
protected FraudSymptom createSymptom(java.lang.String explanation, boolean positive)
-
getStrategyName
public java.lang.String getStrategyName()
-
getSymptomName
public java.lang.String getSymptomName()
-
setSymptomName
public void setSymptomName(java.lang.String name)
-
getIncrement
public double getIncrement()
- Returns:
- the value to be used as score in case the symptom has been tested positively.
-
setIncrement
public void setIncrement(double increment)
-
-