com.recurly.v3.requests.Address Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
The official Java client for Recurly's V3 API.
/**
* This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
* make by hand will be lost. If you wish to make a change to this file, please create a Github
* issue explaining the changes you need and we will usher them to the appropriate places.
*/
package com.recurly.v3.requests;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;
public class Address extends Request {
/** City */
@SerializedName("city")
@Expose
private String city;
/** Country, 2-letter ISO 3166-1 alpha-2 code. */
@SerializedName("country")
@Expose
private String country;
/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;
/** Phone number */
@SerializedName("phone")
@Expose
private String phone;
/** Zip or postal code. */
@SerializedName("postal_code")
@Expose
private String postalCode;
/** State or province. */
@SerializedName("region")
@Expose
private String region;
/** Street 1 */
@SerializedName("street1")
@Expose
private String street1;
/** Street 2 */
@SerializedName("street2")
@Expose
private String street2;
/** City */
public String getCity() {
return this.city;
}
/** @param city City */
public void setCity(final String city) {
this.city = city;
}
/** Country, 2-letter ISO 3166-1 alpha-2 code. */
public String getCountry() {
return this.country;
}
/** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */
public void setCountry(final String country) {
this.country = country;
}
/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}
/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}
/** Phone number */
public String getPhone() {
return this.phone;
}
/** @param phone Phone number */
public void setPhone(final String phone) {
this.phone = phone;
}
/** Zip or postal code. */
public String getPostalCode() {
return this.postalCode;
}
/** @param postalCode Zip or postal code. */
public void setPostalCode(final String postalCode) {
this.postalCode = postalCode;
}
/** State or province. */
public String getRegion() {
return this.region;
}
/** @param region State or province. */
public void setRegion(final String region) {
this.region = region;
}
/** Street 1 */
public String getStreet1() {
return this.street1;
}
/** @param street1 Street 1 */
public void setStreet1(final String street1) {
this.street1 = street1;
}
/** Street 2 */
public String getStreet2() {
return this.street2;
}
/** @param street2 Street 2 */
public void setStreet2(final String street2) {
this.street2 = street2;
}
}