com.tinypass.client.publisher.model.UserBillingAddress Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.CountrySimpleModel;
import com.tinypass.client.publisher.model.RegionSimpleModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class UserBillingAddress {
/* Line one from the user's billing address */
private String addressLine1 = null;
/* Line two from the user's billing address */
private String addressLine2 = null;
/* line three from the user's billing address */
private String addressLine3 = null;
/* The country from the user's billing address, an object */
private CountrySimpleModel country = null;
/* The region from the user's billing address, an object */
private RegionSimpleModel region = null;
/* The region name from the user's billing address */
private String regionName = null;
/* The city from the user's billing address */
private String city = null;
/* The zip code from the user's billing address */
private String postalCode = null;
/* The user address provider type: Experian (1), Avalare (2) */
private String type = null;
//public enum typeEnum { 1, 2, };
/* Whether the user's billing address is verified */
private String verified = null;
/* The public ID of the address */
private String addressPubId = null;
public String getAddressLine1() {
return addressLine1;
}
public void setAddressLine1(String addressLine1) {
this.addressLine1 = addressLine1;
}
public String getAddressLine2() {
return addressLine2;
}
public void setAddressLine2(String addressLine2) {
this.addressLine2 = addressLine2;
}
public String getAddressLine3() {
return addressLine3;
}
public void setAddressLine3(String addressLine3) {
this.addressLine3 = addressLine3;
}
public CountrySimpleModel getCountry() {
return country;
}
public void setCountry(CountrySimpleModel country) {
this.country = country;
}
public RegionSimpleModel getRegion() {
return region;
}
public void setRegion(RegionSimpleModel region) {
this.region = region;
}
public String getRegionName() {
return regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getVerified() {
return verified;
}
public void setVerified(String verified) {
this.verified = verified;
}
public String getAddressPubId() {
return addressPubId;
}
public void setAddressPubId(String addressPubId) {
this.addressPubId = addressPubId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserBillingAddress {\n");
sb.append(" addressLine1: ").append(addressLine1).append("\n");
sb.append(" addressLine2: ").append(addressLine2).append("\n");
sb.append(" addressLine3: ").append(addressLine3).append("\n");
sb.append(" country: ").append(country).append("\n");
sb.append(" region: ").append(region).append("\n");
sb.append(" regionName: ").append(regionName).append("\n");
sb.append(" city: ").append(city).append("\n");
sb.append(" postalCode: ").append(postalCode).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" verified: ").append(verified).append("\n");
sb.append(" addressPubId: ").append(addressPubId).append("\n");
sb.append("}\n");
return sb.toString();
}
}