br.com.moip.resource.Geolocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Moip v2 APIs
package br.com.moip.resource;
public class Geolocation {
private double latitude;
private double longitude;
public double getLatitude() {
return latitude;
}
public void setLatitude(double latitude) {
this.latitude = latitude;
}
public double getLongitude() {
return longitude;
}
public void setLongitude(double longitude) {
this.longitude = longitude;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("Geolocation{");
sb.append("latitude=").append(latitude);
sb.append(", longitude=").append(longitude);
sb.append('}');
return sb.toString();
}
}