1212 * This class represents the minFraud Score response.
1313 */
1414public class ScoreResponse extends AbstractModel {
15- protected final Double fundsRemaining ;
16- protected final UUID id ;
17- protected final Integer queriesRemaining ;
18- protected final Double riskScore ;
19- protected final List <Warning > warnings ;
15+ private final Disposition disposition ;
16+ private final Double fundsRemaining ;
17+ private final UUID id ;
18+ private final Integer queriesRemaining ;
19+ private final Double riskScore ;
20+ private final List <Warning > warnings ;
2021 private final ScoreIpAddress ipAddress ;
2122
2223 public ScoreResponse (
24+ @ JsonProperty ("disposition" ) Disposition disposition ,
2325 @ JsonProperty ("funds_remaining" ) Double fundsRemaining ,
2426 @ JsonProperty ("id" ) UUID id ,
2527 @ JsonProperty ("ip_address" ) ScoreIpAddress ipAddress ,
2628 @ JsonProperty ("queries_remaining" ) Integer queriesRemaining ,
2729 @ JsonProperty ("risk_score" ) Double riskScore ,
2830 @ JsonProperty ("warnings" ) List <Warning > warnings
2931 ) {
32+ this .disposition = disposition == null ? new Disposition () : disposition ;
3033 this .fundsRemaining = fundsRemaining ;
3134 this .id = id ;
3235 this .ipAddress = ipAddress == null ? new ScoreIpAddress () : ipAddress ;
@@ -35,6 +38,15 @@ public ScoreResponse(
3538 this .warnings = Collections .unmodifiableList (warnings == null ? new ArrayList <Warning >() : warnings );
3639 }
3740
41+ /**
42+ * @return The disposition set by your custom rules.
43+ */
44+ @ JsonProperty ("disposition" )
45+ public final Disposition getDisposition () {
46+ return disposition ;
47+ }
48+
49+
3850 /**
3951 * @return The approximate US dollar value of the funds remaining on your
4052 * MaxMind account.
0 commit comments