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

com.tinypass.client.publisher.model.UserAddress Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
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.Country;
import com.tinypass.client.publisher.model.Region;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

public class UserAddress {

  /* The public ID of the user address */
  private String userAddressId = null;
  

    private Region region = null;
  

    private Country country = null;
  

  /* The name of the city */
  private String city = null;
  

  /* The user's postal code */
  private String postalCode = null;
  

  /* company_name */
  private String companyName = null;
  

  /* The user's first name */
  private String firstName = null;
  

  /* The user's last name */
  private String lastName = null;
  

  /* The user's personal name. Name and surname ordered as per locale */
  private String personalName = null;
  

  /* The user's first address */
  private String address1 = null;
  

  /* The user's second address */
  private String address2 = null;
  

  /* The user's phone */
  private String phone = null;
  

  /* The additional address fields (json) */
  private String additionalFields = null;
  


  public String getUserAddressId() {
    return userAddressId;
  }
  public void setUserAddressId(String userAddressId) {
    this.userAddressId = userAddressId;
  }


  public Region getRegion() {
    return region;
  }
  public void setRegion(Region region) {
    this.region = region;
  }


  public Country getCountry() {
    return country;
  }
  public void setCountry(Country country) {
    this.country = country;
  }


  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 getCompanyName() {
    return companyName;
  }
  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }


  public String getFirstName() {
    return firstName;
  }
  public void setFirstName(String firstName) {
    this.firstName = firstName;
  }


  public String getLastName() {
    return lastName;
  }
  public void setLastName(String lastName) {
    this.lastName = lastName;
  }


  public String getPersonalName() {
    return personalName;
  }
  public void setPersonalName(String personalName) {
    this.personalName = personalName;
  }


  public String getAddress1() {
    return address1;
  }
  public void setAddress1(String address1) {
    this.address1 = address1;
  }


  public String getAddress2() {
    return address2;
  }
  public void setAddress2(String address2) {
    this.address2 = address2;
  }


  public String getPhone() {
    return phone;
  }
  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getAdditionalFields() {
    return additionalFields;
  }
  public void setAdditionalFields(String additionalFields) {
    this.additionalFields = additionalFields;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class UserAddress {\n");
    sb.append("  userAddressId: ").append(userAddressId).append("\n");
    sb.append("  region: ").append(region).append("\n");
    sb.append("  country: ").append(country).append("\n");
    sb.append("  city: ").append(city).append("\n");
    sb.append("  postalCode: ").append(postalCode).append("\n");
    sb.append("  companyName: ").append(companyName).append("\n");
    sb.append("  firstName: ").append(firstName).append("\n");
    sb.append("  lastName: ").append(lastName).append("\n");
    sb.append("  personalName: ").append(personalName).append("\n");
    sb.append("  address1: ").append(address1).append("\n");
    sb.append("  address2: ").append(address2).append("\n");
    sb.append("  phone: ").append(phone).append("\n");
    sb.append("  additionalFields: ").append(additionalFields).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy