All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartystreets.api.us_reverse_geo.Coordinate Maven / Gradle / Ivy

There is a newer version: 3.18.3
Show newest version
package com.smartystreets.api.us_reverse_geo;

import java.io.Serializable;

public class Coordinate implements Serializable {
    //region [ Fields ]

    private double latitude;
    private double longitude;
    private int license;
    private String zipcode;
    private String accuracy;

    //endregion

    public double getLatitude() {
        return this.latitude;
    }

    public double getLongitude() {
        return this.longitude;
    }

    public String getLicense() {
        switch (this.license) {
            case 1:
                return "SmartyStreets Proprietary";
            default:
                return "SmartyStreets";

        }
    }

    public String getZipCode() {
        return this.zipcode;
    }

    public String getAccuracy() {
        return this.accuracy;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy