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

Model.Ptsv2payoutsRecipientInformation 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 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;

/**
 * Ptsv2payoutsRecipientInformation
 */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   /**
   * First name of the recipient.    This field is applicable for AFT & OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. 
   * @return firstName
  **/
  @ApiModelProperty(value = "First name of the recipient.    This field is applicable for AFT & OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. ")
  public String getFirstName() {
    return firstName;
  }

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

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

   /**
   * Middle name of the recipient.    This field is applicable for AFT & OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. 
   * @return middleName
  **/
  @ApiModelProperty(value = "Middle name of the recipient.    This field is applicable for AFT & OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. ")
  public String getMiddleName() {
    return middleName;
  }

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

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

   /**
   * Last name of the recipient.  This field is applicable for AFT & OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. 
   * @return lastName
  **/
  @ApiModelProperty(value = "Last name of the recipient.  This field is applicable for AFT & OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set, are not supported and will be stripped before being sent to sent to the processor. ")
  public String getLastName() {
    return lastName;
  }

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

  public Ptsv2payoutsRecipientInformation address1(String address1) {
    this.address1 = address1;
    return this;
  }

   /**
   * The street address of the recipient This field is applicable for AFT and OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. 
   * @return address1
  **/
  @ApiModelProperty(value = "The street address of the recipient This field is applicable for AFT and OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. ")
  public String getAddress1() {
    return address1;
  }

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

  public Ptsv2payoutsRecipientInformation locality(String locality) {
    this.locality = locality;
    return this;
  }

   /**
   * The city of the recipient. This field is applicable for AFT and OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. 
   * @return locality
  **/
  @ApiModelProperty(value = "The city of the recipient. This field is applicable for AFT and OCT transactions.  Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor. ")
  public String getLocality() {
    return locality;
  }

  public void setLocality(String locality) {
    this.locality = locality;
  }

  public Ptsv2payoutsRecipientInformation administrativeArea(String administrativeArea) {
    this.administrativeArea = administrativeArea;
    return this;
  }

   /**
   * The state or province of the recipient. This field is applicable for AFT and OCT transactions when the recipient country is US or CA. Else it is optional.  Must be a two character value 
   * @return administrativeArea
  **/
  @ApiModelProperty(value = "The state or province of the recipient. This field is applicable for AFT and OCT transactions when the recipient country is US or CA. Else it is optional.  Must be a two character value ")
  public String getAdministrativeArea() {
    return administrativeArea;
  }

  public void setAdministrativeArea(String administrativeArea) {
    this.administrativeArea = administrativeArea;
  }

  public Ptsv2payoutsRecipientInformation country(String country) {
    this.country = country;
    return this;
  }

   /**
   * The country associated with the address of the recipient. This field is applicable for AFT and OCT transactions.  Must be a two character ISO country code.  For example, see [ISO Country Code](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) 
   * @return country
  **/
  @ApiModelProperty(value = "The country associated with the address of the recipient. This field is applicable for AFT and OCT transactions.  Must be a two character ISO country code.  For example, see [ISO Country Code](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) ")
  public String getCountry() {
    return country;
  }

  public void setCountry(String country) {
    this.country = country;
  }

  public Ptsv2payoutsRecipientInformation postalCode(String postalCode) {
    this.postalCode = postalCode;
    return this;
  }

   /**
   * Recipient postal code. Required only for FDCCompass.
   * @return postalCode
  **/
  @ApiModelProperty(value = "Recipient postal code. Required only for FDCCompass.")
  public String getPostalCode() {
    return postalCode;
  }

  public void setPostalCode(String postalCode) {
    this.postalCode = postalCode;
  }

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

   /**
   * Recipient phone number. Required only for FDCCompass.
   * @return phoneNumber
  **/
  @ApiModelProperty(value = "Recipient phone number. Required only for FDCCompass.")
  public String getPhoneNumber() {
    return phoneNumber;
  }

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

  public Ptsv2payoutsRecipientInformation aliasName(String aliasName) {
    this.aliasName = aliasName;
    return this;
  }

   /**
   * Account owner alias name. 
   * @return aliasName
  **/
  @ApiModelProperty(value = "Account owner alias name. ")
  public String getAliasName() {
    return aliasName;
  }

  public void setAliasName(String aliasName) {
    this.aliasName = aliasName;
  }

  public Ptsv2payoutsRecipientInformation nationality(String nationality) {
    this.nationality = nationality;
    return this;
  }

   /**
   * Account Owner Nationality
   * @return nationality
  **/
  @ApiModelProperty(value = "Account Owner Nationality")
  public String getNationality() {
    return nationality;
  }

  public void setNationality(String nationality) {
    this.nationality = nationality;
  }

  public Ptsv2payoutsRecipientInformation countryOfBirth(String countryOfBirth) {
    this.countryOfBirth = countryOfBirth;
    return this;
  }

   /**
   * Account Owner Country of Birth
   * @return countryOfBirth
  **/
  @ApiModelProperty(value = "Account Owner Country of Birth")
  public String getCountryOfBirth() {
    return countryOfBirth;
  }

  public void setCountryOfBirth(String countryOfBirth) {
    this.countryOfBirth = countryOfBirth;
  }

  public Ptsv2payoutsRecipientInformation occupation(String occupation) {
    this.occupation = occupation;
    return this;
  }

   /**
   * Account Owner Occupation
   * @return occupation
  **/
  @ApiModelProperty(value = "Account Owner Occupation")
  public String getOccupation() {
    return occupation;
  }

  public void setOccupation(String occupation) {
    this.occupation = occupation;
  }

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

   /**
   * Account Owner email address
   * @return email
  **/
  @ApiModelProperty(value = "Account Owner email address")
  public String getEmail() {
    return email;
  }

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


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Ptsv2payoutsRecipientInformation ptsv2payoutsRecipientInformation = (Ptsv2payoutsRecipientInformation) o;
    return Objects.equals(this.firstName, ptsv2payoutsRecipientInformation.firstName) &&
        Objects.equals(this.middleName, ptsv2payoutsRecipientInformation.middleName) &&
        Objects.equals(this.lastName, ptsv2payoutsRecipientInformation.lastName) &&
        Objects.equals(this.address1, ptsv2payoutsRecipientInformation.address1) &&
        Objects.equals(this.locality, ptsv2payoutsRecipientInformation.locality) &&
        Objects.equals(this.administrativeArea, ptsv2payoutsRecipientInformation.administrativeArea) &&
        Objects.equals(this.country, ptsv2payoutsRecipientInformation.country) &&
        Objects.equals(this.postalCode, ptsv2payoutsRecipientInformation.postalCode) &&
        Objects.equals(this.phoneNumber, ptsv2payoutsRecipientInformation.phoneNumber) &&
        Objects.equals(this.aliasName, ptsv2payoutsRecipientInformation.aliasName) &&
        Objects.equals(this.nationality, ptsv2payoutsRecipientInformation.nationality) &&
        Objects.equals(this.countryOfBirth, ptsv2payoutsRecipientInformation.countryOfBirth) &&
        Objects.equals(this.occupation, ptsv2payoutsRecipientInformation.occupation) &&
        Objects.equals(this.email, ptsv2payoutsRecipientInformation.email);
  }

  @Override
  public int hashCode() {
    return Objects.hash(firstName, middleName, lastName, address1, locality, administrativeArea, country, postalCode, phoneNumber, aliasName, nationality, countryOfBirth, occupation, email);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Ptsv2payoutsRecipientInformation {\n");
    
    if (firstName != null) sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    if (middleName != null) sb.append("    middleName: ").append(toIndentedString(middleName)).append("\n");
    if (lastName != null) sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    if (address1 != null) sb.append("    address1: ").append(toIndentedString(address1)).append("\n");
    if (locality != null) sb.append("    locality: ").append(toIndentedString(locality)).append("\n");
    if (administrativeArea != null) sb.append("    administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n");
    if (country != null) sb.append("    country: ").append(toIndentedString(country)).append("\n");
    if (postalCode != null) sb.append("    postalCode: ").append(toIndentedString(postalCode)).append("\n");
    if (phoneNumber != null) sb.append("    phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
    if (aliasName != null) sb.append("    aliasName: ").append(toIndentedString(aliasName)).append("\n");
    if (nationality != null) sb.append("    nationality: ").append(toIndentedString(nationality)).append("\n");
    if (countryOfBirth != null) sb.append("    countryOfBirth: ").append(toIndentedString(countryOfBirth)).append("\n");
    if (occupation != null) sb.append("    occupation: ").append(toIndentedString(occupation)).append("\n");
    if (email != null) sb.append("    email: ").append(toIndentedString(email)).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