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

Model.Boardingv1registrationsOrganizationInformationOwners Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
/*
 * CyberSource Merged Spec
 * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
 *
 * OpenAPI spec version: 0.0.1
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package Model;

import java.util.Objects;
import java.util.Arrays;
import Model.Boardingv1registrationsOrganizationInformationBusinessInformationAddress;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import org.joda.time.LocalDate;

/**
 * Boardingv1registrationsOrganizationInformationOwners
 */

public class Boardingv1registrationsOrganizationInformationOwners {
  @SerializedName("firstName")
  private String firstName = null;

  @SerializedName("middleName")
  private String middleName = null;

  @SerializedName("lastName")
  private String lastName = null;

  @SerializedName("birthDate")
  private LocalDate birthDate = null;

  @SerializedName("isPrimary")
  private Boolean isPrimary = null;

  @SerializedName("ssn")
  private String ssn = null;

  @SerializedName("passportNumber")
  private String passportNumber = null;

  @SerializedName("passportCountry")
  private String passportCountry = null;

  @SerializedName("jobTitle")
  private String jobTitle = null;

  @SerializedName("hasSignificantResponsability")
  private Boolean hasSignificantResponsability = null;

  @SerializedName("ownershipPercentage")
  private BigDecimal ownershipPercentage = null;

  @SerializedName("phoneNumber")
  private String phoneNumber = null;

  @SerializedName("email")
  private String email = null;

  @SerializedName("address")
  private Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = null;

  public Boardingv1registrationsOrganizationInformationOwners firstName(String firstName) {
    this.firstName = firstName;
    return this;
  }

   /**
   * Get firstName
   * @return firstName
  **/
  @ApiModelProperty(example = "John", required = true, value = "")
  public String getFirstName() {
    return firstName;
  }

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

  public Boardingv1registrationsOrganizationInformationOwners middleName(String middleName) {
    this.middleName = middleName;
    return this;
  }

   /**
   * Get middleName
   * @return middleName
  **/
  @ApiModelProperty(example = "John", value = "")
  public String getMiddleName() {
    return middleName;
  }

  public void setMiddleName(String middleName) {
    this.middleName = middleName;
  }

  public Boardingv1registrationsOrganizationInformationOwners lastName(String lastName) {
    this.lastName = lastName;
    return this;
  }

   /**
   * Get lastName
   * @return lastName
  **/
  @ApiModelProperty(example = "John", required = true, value = "")
  public String getLastName() {
    return lastName;
  }

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

  public Boardingv1registrationsOrganizationInformationOwners birthDate(LocalDate birthDate) {
    this.birthDate = birthDate;
    return this;
  }

   /**
   * `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 
   * @return birthDate
  **/
  @ApiModelProperty(example = "2016-08-11T00:00:00.000Z", required = true, value = "`Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 ")
  public LocalDate getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(LocalDate birthDate) {
    this.birthDate = birthDate;
  }

  public Boardingv1registrationsOrganizationInformationOwners isPrimary(Boolean isPrimary) {
    this.isPrimary = isPrimary;
    return this;
  }

   /**
   * Determines whether the owner is the Primary owner of the organization
   * @return isPrimary
  **/
  @ApiModelProperty(example = "true", required = true, value = "Determines whether the owner is the Primary owner of the organization")
  public Boolean isIsPrimary() {
    return isPrimary;
  }

  public void setIsPrimary(Boolean isPrimary) {
    this.isPrimary = isPrimary;
  }

  public Boardingv1registrationsOrganizationInformationOwners ssn(String ssn) {
    this.ssn = ssn;
    return this;
  }

   /**
   * Social Security Number
   * @return ssn
  **/
  @ApiModelProperty(example = "123456789", value = "Social Security Number")
  public String getSsn() {
    return ssn;
  }

  public void setSsn(String ssn) {
    this.ssn = ssn;
  }

  public Boardingv1registrationsOrganizationInformationOwners passportNumber(String passportNumber) {
    this.passportNumber = passportNumber;
    return this;
  }

   /**
   * Passport number
   * @return passportNumber
  **/
  @ApiModelProperty(example = "1234556", value = "Passport number")
  public String getPassportNumber() {
    return passportNumber;
  }

  public void setPassportNumber(String passportNumber) {
    this.passportNumber = passportNumber;
  }

  public Boardingv1registrationsOrganizationInformationOwners passportCountry(String passportCountry) {
    this.passportCountry = passportCountry;
    return this;
  }

   /**
   * Get passportCountry
   * @return passportCountry
  **/
  @ApiModelProperty(example = "US", value = "")
  public String getPassportCountry() {
    return passportCountry;
  }

  public void setPassportCountry(String passportCountry) {
    this.passportCountry = passportCountry;
  }

  public Boardingv1registrationsOrganizationInformationOwners jobTitle(String jobTitle) {
    this.jobTitle = jobTitle;
    return this;
  }

   /**
   * Get jobTitle
   * @return jobTitle
  **/
  @ApiModelProperty(example = "Director", required = true, value = "")
  public String getJobTitle() {
    return jobTitle;
  }

  public void setJobTitle(String jobTitle) {
    this.jobTitle = jobTitle;
  }

  public Boardingv1registrationsOrganizationInformationOwners hasSignificantResponsability(Boolean hasSignificantResponsability) {
    this.hasSignificantResponsability = hasSignificantResponsability;
    return this;
  }

   /**
   * Determines whether owner has significant responsibility to control, manage or direct the company
   * @return hasSignificantResponsability
  **/
  @ApiModelProperty(example = "true", required = true, value = "Determines whether owner has significant responsibility to control, manage or direct the company")
  public Boolean isHasSignificantResponsability() {
    return hasSignificantResponsability;
  }

  public void setHasSignificantResponsability(Boolean hasSignificantResponsability) {
    this.hasSignificantResponsability = hasSignificantResponsability;
  }

  public Boardingv1registrationsOrganizationInformationOwners ownershipPercentage(BigDecimal ownershipPercentage) {
    this.ownershipPercentage = ownershipPercentage;
    return this;
  }

   /**
   * Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100
   * @return ownershipPercentage
  **/
  @ApiModelProperty(example = "25.0", required = true, value = "Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100")
  public BigDecimal getOwnershipPercentage() {
    return ownershipPercentage;
  }

  public void setOwnershipPercentage(BigDecimal ownershipPercentage) {
    this.ownershipPercentage = ownershipPercentage;
  }

  public Boardingv1registrationsOrganizationInformationOwners phoneNumber(String phoneNumber) {
    this.phoneNumber = phoneNumber;
    return this;
  }

   /**
   * Get phoneNumber
   * @return phoneNumber
  **/
  @ApiModelProperty(example = "4567890398", required = true, value = "")
  public String getPhoneNumber() {
    return phoneNumber;
  }

  public void setPhoneNumber(String phoneNumber) {
    this.phoneNumber = phoneNumber;
  }

  public Boardingv1registrationsOrganizationInformationOwners email(String email) {
    this.email = email;
    return this;
  }

   /**
   * Get email
   * @return email
  **/
  @ApiModelProperty(example = "[email protected]", required = true, value = "")
  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public Boardingv1registrationsOrganizationInformationOwners address(Boardingv1registrationsOrganizationInformationBusinessInformationAddress address) {
    this.address = address;
    return this;
  }

   /**
   * Get address
   * @return address
  **/
  @ApiModelProperty(required = true, value = "")
  public Boardingv1registrationsOrganizationInformationBusinessInformationAddress getAddress() {
    return address;
  }

  public void setAddress(Boardingv1registrationsOrganizationInformationBusinessInformationAddress address) {
    this.address = address;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Boardingv1registrationsOrganizationInformationOwners boardingv1registrationsOrganizationInformationOwners = (Boardingv1registrationsOrganizationInformationOwners) o;
    return Objects.equals(this.firstName, boardingv1registrationsOrganizationInformationOwners.firstName) &&
        Objects.equals(this.middleName, boardingv1registrationsOrganizationInformationOwners.middleName) &&
        Objects.equals(this.lastName, boardingv1registrationsOrganizationInformationOwners.lastName) &&
        Objects.equals(this.birthDate, boardingv1registrationsOrganizationInformationOwners.birthDate) &&
        Objects.equals(this.isPrimary, boardingv1registrationsOrganizationInformationOwners.isPrimary) &&
        Objects.equals(this.ssn, boardingv1registrationsOrganizationInformationOwners.ssn) &&
        Objects.equals(this.passportNumber, boardingv1registrationsOrganizationInformationOwners.passportNumber) &&
        Objects.equals(this.passportCountry, boardingv1registrationsOrganizationInformationOwners.passportCountry) &&
        Objects.equals(this.jobTitle, boardingv1registrationsOrganizationInformationOwners.jobTitle) &&
        Objects.equals(this.hasSignificantResponsability, boardingv1registrationsOrganizationInformationOwners.hasSignificantResponsability) &&
        Objects.equals(this.ownershipPercentage, boardingv1registrationsOrganizationInformationOwners.ownershipPercentage) &&
        Objects.equals(this.phoneNumber, boardingv1registrationsOrganizationInformationOwners.phoneNumber) &&
        Objects.equals(this.email, boardingv1registrationsOrganizationInformationOwners.email) &&
        Objects.equals(this.address, boardingv1registrationsOrganizationInformationOwners.address);
  }

  @Override
  public int hashCode() {
    return Objects.hash(firstName, middleName, lastName, birthDate, isPrimary, ssn, passportNumber, passportCountry, jobTitle, hasSignificantResponsability, ownershipPercentage, phoneNumber, email, address);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Boardingv1registrationsOrganizationInformationOwners {\n");
    
    sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    sb.append("    middleName: ").append(toIndentedString(middleName)).append("\n");
    sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    sb.append("    birthDate: ").append(toIndentedString(birthDate)).append("\n");
    sb.append("    isPrimary: ").append(toIndentedString(isPrimary)).append("\n");
    sb.append("    ssn: ").append(toIndentedString(ssn)).append("\n");
    sb.append("    passportNumber: ").append(toIndentedString(passportNumber)).append("\n");
    sb.append("    passportCountry: ").append(toIndentedString(passportCountry)).append("\n");
    sb.append("    jobTitle: ").append(toIndentedString(jobTitle)).append("\n");
    sb.append("    hasSignificantResponsability: ").append(toIndentedString(hasSignificantResponsability)).append("\n");
    sb.append("    ownershipPercentage: ").append(toIndentedString(ownershipPercentage)).append("\n");
    sb.append("    phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
    sb.append("    email: ").append(toIndentedString(email)).append("\n");
    sb.append("    address: ").append(toIndentedString(address)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy