Package ai.promoted.delivery.model
Class Location
- java.lang.Object
-
- ai.promoted.delivery.model.Location
-
public class Location extends Object
Location
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCURACY_IN_METERSstatic StringJSON_PROPERTY_LATITUDEstatic StringJSON_PROPERTY_LONGITUDE
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationaccuracyInMeters(Double accuracyInMeters)booleanequals(Object o)Return true if this Location object is equal to o.DoublegetAccuracyInMeters()Get accuracyInMetersDoublegetLatitude()Get latitudeDoublegetLongitude()Get longitudeinthashCode()Locationlatitude(Double latitude)Locationlongitude(Double longitude)voidsetAccuracyInMeters(Double accuracyInMeters)voidsetLatitude(Double latitude)voidsetLongitude(Double longitude)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCURACY_IN_METERS
public static final String JSON_PROPERTY_ACCURACY_IN_METERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LATITUDE
public static final String JSON_PROPERTY_LATITUDE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LONGITUDE
public static final String JSON_PROPERTY_LONGITUDE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccuracyInMeters
public Double getAccuracyInMeters()
Get accuracyInMeters- Returns:
- accuracyInMeters
-
setAccuracyInMeters
public void setAccuracyInMeters(Double accuracyInMeters)
-
getLatitude
public Double getLatitude()
Get latitude- Returns:
- latitude
-
setLatitude
public void setLatitude(Double latitude)
-
getLongitude
public Double getLongitude()
Get longitude- Returns:
- longitude
-
setLongitude
public void setLongitude(Double longitude)
-
equals
public boolean equals(Object o)
Return true if this Location object is equal to o.
-
-