//參考base-4.0.2.jar
public class AuditResult implements TimeReferable, Serializable
//參考api-1.0.0.jar //該接口用於表示實現類是時間可參考的,也就是可以得到基準時間。 //之前的實時風控都是基於當前時間來進行的,引入該類但願將實時風控擴展到更深的領域。 public abstract interface TimeReferable extends Serializable { public abstract Date getReferenceTime(); public abstract void setReferenceTime(Date paramDate); }
//默認構造器
public AuditResult() { setScore(0); }
//通知策略
public NotifyPolicy notifyPolicy;
//驗證策略 public VerifyPolicy verifyPolicy;
//風險評分 public int score;
// public String retCode; public String uuid; public Long referenceTime;
//risk隊列 public List<Risk> risks = new ArrayList();
// public List<Map<String, Object>> items = new ArrayList();
// public Map<String, Object> customization = new HashMap();MemCachedItem隊列