-
public final class RadarRegionRepresents a region.
-
-
Field Summary
Fields Modifier and Type Field Description private final String_idprivate final Stringnameprivate final Stringcodeprivate final Stringtypeprivate final Stringflagprivate final Booleanallowedprivate final Booleanpassedprivate final BooleaninExclusionZoneprivate final BooleaninBufferZoneprivate final DoubledistanceToBorderprivate final Booleanexpected
-
Method Summary
Modifier and Type Method Description final Stringget_id()The Radar ID of the region. final StringgetName()The name of the region. final StringgetCode()The unique code for the region. final StringgetType()The type of the region. final StringgetFlag()The optional flag of the region. final BooleangetAllowed()A boolean indicating whether the jurisdiction is allowed. final BooleangetPassed()A boolean indicating whether all jurisdiction checks for the region have passed. final BooleangetInExclusionZone()A boolean indicating whether the user is in an exclusion zone for the jurisdiction. final BooleangetInBufferZone()A boolean indicating whether the user is too close to the border for the jurisdiction. final DoublegetDistanceToBorder()The distance in meters to the border of the jurisdiction. final BooleangetExpected()A boolean indicating whether the jurisdiction is expected based on the values passed to setExpectedJurisdiction().final JSONObjecttoJson()-
-
Method Detail
-
getAllowed
final Boolean getAllowed()
A boolean indicating whether the jurisdiction is allowed. May be
falseif Fraud is not enabled.
-
getPassed
final Boolean getPassed()
A boolean indicating whether all jurisdiction checks for the region have passed. May be
falseif Fraud is not enabled.
-
getInExclusionZone
final Boolean getInExclusionZone()
A boolean indicating whether the user is in an exclusion zone for the jurisdiction. May be
falseif Fraud is not enabled.
-
getInBufferZone
final Boolean getInBufferZone()
A boolean indicating whether the user is too close to the border for the jurisdiction. May be
falseif Fraud is not enabled.
-
getDistanceToBorder
final Double getDistanceToBorder()
The distance in meters to the border of the jurisdiction. May be 0 if Fraud is not enabled.
-
getExpected
final Boolean getExpected()
A boolean indicating whether the jurisdiction is expected based on the values passed to
setExpectedJurisdiction().
-
toJson
final JSONObject toJson()
-
-
-
-