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 doubleDEFAULT_INCREMENT
-
Constructor Summary
Constructors Constructor Description AbstractOrderFraudSymptomDetection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FraudSymptomcreateSymptom(boolean positive)protected FraudSymptomcreateSymptom(java.lang.String explanation, boolean positive)doublegetIncrement()java.lang.StringgetStrategyName()java.lang.StringgetSymptomName()voidsetIncrement(double increment)voidsetSymptomName(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)
-
-