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

Model.Ptsv1pushfundstransferSenderInformation 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.Ptsv1pushfundstransferSenderInformationAccount;
import Model.Ptsv1pushfundstransferSenderInformationPaymentInformation;
import Model.Ptsv1pushfundstransferSenderInformationPersonalIdentification;
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;

/**
 * Ptsv1pushfundstransferSenderInformation
 */

public class Ptsv1pushfundstransferSenderInformation {
  @SerializedName("name")
  private String name = null;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  @SerializedName("paymentInformation")
  private Ptsv1pushfundstransferSenderInformationPaymentInformation paymentInformation = null;

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

  @SerializedName("account")
  private Ptsv1pushfundstransferSenderInformationAccount account = null;

  @SerializedName("personalIdentification")
  private Ptsv1pushfundstransferSenderInformationPersonalIdentification personalIdentification = null;

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

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

  public Ptsv1pushfundstransferSenderInformation name(String name) {
    this.name = name;
    return this;
  }

   /**
   * Name of sender.  Funds Disbursement  This value is the name of the originator sending the funds disbursement.  Government entities should use this field 
   * @return name
  **/
  @ApiModelProperty(value = "Name of sender.  Funds Disbursement  This value is the name of the originator sending the funds disbursement.  Government entities should use this field ")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

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

   /**
   * Customer's email address, including the full domain name. 
   * @return email
  **/
  @ApiModelProperty(value = "Customer's email address, including the full domain name. ")
  public String getEmail() {
    return email;
  }

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

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

   /**
   * This field contains the first name of the entity funding the transaction Mandatory for card payments 
   * @return firstName
  **/
  @ApiModelProperty(value = "This field contains the first name of the entity funding the transaction Mandatory for card payments ")
  public String getFirstName() {
    return firstName;
  }

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

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

   /**
   * This field contains the last name of the entity funding the transaction Mandatory for card payments 
   * @return lastName
  **/
  @ApiModelProperty(value = "This field contains the last name of the entity funding the transaction Mandatory for card payments ")
  public String getLastName() {
    return lastName;
  }

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

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

   /**
   * This field contains the  middle name of the entity funding the transaction 
   * @return middleName
  **/
  @ApiModelProperty(value = "This field contains the  middle name of the entity funding the transaction ")
  public String getMiddleName() {
    return middleName;
  }

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

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

   /**
   * Sender's postal code.  For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10.  Required for FDCCompass. 
   * @return postalCode
  **/
  @ApiModelProperty(value = "Sender's postal code.  For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10.  Required for FDCCompass. ")
  public String getPostalCode() {
    return postalCode;
  }

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

  public Ptsv1pushfundstransferSenderInformation buildingNumber(String buildingNumber) {
    this.buildingNumber = buildingNumber;
    return this;
  }

   /**
   * Building number in the street address.  For example, if the street address is: Rua da Quitanda 187 then the building number is 187.  Applicable to domestic Colombia transactions only. 
   * @return buildingNumber
  **/
  @ApiModelProperty(value = "Building number in the street address.  For example, if the street address is: Rua da Quitanda 187 then the building number is 187.  Applicable to domestic Colombia transactions only. ")
  public String getBuildingNumber() {
    return buildingNumber;
  }

  public void setBuildingNumber(String buildingNumber) {
    this.buildingNumber = buildingNumber;
  }

  public Ptsv1pushfundstransferSenderInformation streetName(String streetName) {
    this.streetName = streetName;
    return this;
  }

   /**
   * This field contains the street name of the recipient's address.  Applicable to domestic Colombia transactions only. 
   * @return streetName
  **/
  @ApiModelProperty(value = "This field contains the street name of the recipient's address.  Applicable to domestic Colombia transactions only. ")
  public String getStreetName() {
    return streetName;
  }

  public void setStreetName(String streetName) {
    this.streetName = streetName;
  }

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

   /**
   * Street address of sender.  Funds Disbursement  This value is the address of the originator sending the funds disbursement.  Required for card transactions 
   * @return address1
  **/
  @ApiModelProperty(value = "Street address of sender.  Funds Disbursement  This value is the address of the originator sending the funds disbursement.  Required for card transactions ")
  public String getAddress1() {
    return address1;
  }

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

  public Ptsv1pushfundstransferSenderInformation address2(String address2) {
    this.address2 = address2;
    return this;
  }

   /**
   * Used for additional address information. For example: Attention: Accounts Payable  Optional field. 
   * @return address2
  **/
  @ApiModelProperty(value = "Used for additional address information. For example: Attention: Accounts Payable  Optional field. ")
  public String getAddress2() {
    return address2;
  }

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

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

   /**
   * The sender's city Mandatory for card payments 
   * @return locality
  **/
  @ApiModelProperty(value = "The sender's city Mandatory for card payments ")
  public String getLocality() {
    return locality;
  }

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

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

   /**
   * Sender's state. Use the State, Province, and Territory Codes for the United States and Canada.The sender's province, state or territory. Conditional, required if sender's country is USA or CAN. Must be uppercase alpha 2 or 3 character country subdivision code.  See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf  Mandatory for card payments 
   * @return administrativeArea
  **/
  @ApiModelProperty(value = "Sender's state. Use the State, Province, and Territory Codes for the United States and Canada.The sender's province, state or territory. Conditional, required if sender's country is USA or CAN. Must be uppercase alpha 2 or 3 character country subdivision code.  See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf  Mandatory for card payments ")
  public String getAdministrativeArea() {
    return administrativeArea;
  }

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

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

   /**
   * Sender's country code. Use ISO Standard Alpha Country Codes.  https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf 
   * @return country
  **/
  @ApiModelProperty(value = "Sender's country code. Use ISO Standard Alpha Country Codes.  https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf ")
  public String getCountry() {
    return country;
  }

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

  public Ptsv1pushfundstransferSenderInformation dateOfBirth(String dateOfBirth) {
    this.dateOfBirth = dateOfBirth;
    return this;
  }

   /**
   * Sender's date of birth in YYYYMMDD format. 
   * @return dateOfBirth
  **/
  @ApiModelProperty(value = "Sender's date of birth in YYYYMMDD format. ")
  public String getDateOfBirth() {
    return dateOfBirth;
  }

  public void setDateOfBirth(String dateOfBirth) {
    this.dateOfBirth = dateOfBirth;
  }

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

   /**
   * Customer's phone number.  It is recommended that you include the country code when the order is from outside the U.S. 
   * @return phoneNumber
  **/
  @ApiModelProperty(value = "Customer's phone number.  It is recommended that you include the country code when the order is from outside the U.S. ")
  public String getPhoneNumber() {
    return phoneNumber;
  }

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

  public Ptsv1pushfundstransferSenderInformation paymentInformation(Ptsv1pushfundstransferSenderInformationPaymentInformation paymentInformation) {
    this.paymentInformation = paymentInformation;
    return this;
  }

   /**
   * Get paymentInformation
   * @return paymentInformation
  **/
  @ApiModelProperty(value = "")
  public Ptsv1pushfundstransferSenderInformationPaymentInformation getPaymentInformation() {
    return paymentInformation;
  }

  public void setPaymentInformation(Ptsv1pushfundstransferSenderInformationPaymentInformation paymentInformation) {
    this.paymentInformation = paymentInformation;
  }

  public Ptsv1pushfundstransferSenderInformation referenceNumber(String referenceNumber) {
    this.referenceNumber = referenceNumber;
    return this;
  }

   /**
   * Reference number generated by you that uniquely identifies the sender. 
   * @return referenceNumber
  **/
  @ApiModelProperty(value = "Reference number generated by you that uniquely identifies the sender. ")
  public String getReferenceNumber() {
    return referenceNumber;
  }

  public void setReferenceNumber(String referenceNumber) {
    this.referenceNumber = referenceNumber;
  }

  public Ptsv1pushfundstransferSenderInformation account(Ptsv1pushfundstransferSenderInformationAccount account) {
    this.account = account;
    return this;
  }

   /**
   * Get account
   * @return account
  **/
  @ApiModelProperty(value = "")
  public Ptsv1pushfundstransferSenderInformationAccount getAccount() {
    return account;
  }

  public void setAccount(Ptsv1pushfundstransferSenderInformationAccount account) {
    this.account = account;
  }

  public Ptsv1pushfundstransferSenderInformation personalIdentification(Ptsv1pushfundstransferSenderInformationPersonalIdentification personalIdentification) {
    this.personalIdentification = personalIdentification;
    return this;
  }

   /**
   * Get personalIdentification
   * @return personalIdentification
  **/
  @ApiModelProperty(value = "")
  public Ptsv1pushfundstransferSenderInformationPersonalIdentification getPersonalIdentification() {
    return personalIdentification;
  }

  public void setPersonalIdentification(Ptsv1pushfundstransferSenderInformationPersonalIdentification personalIdentification) {
    this.personalIdentification = personalIdentification;
  }

  public Ptsv1pushfundstransferSenderInformation type(String type) {
    this.type = type;
    return this;
  }

   /**
   * `B` for Business or `I` for individual. 
   * @return type
  **/
  @ApiModelProperty(value = "`B` for Business or `I` for individual. ")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public Ptsv1pushfundstransferSenderInformation vatRegistrationNumber(String vatRegistrationNumber) {
    this.vatRegistrationNumber = vatRegistrationNumber;
    return this;
  }

   /**
   * Customer's government-assigned tax identification number. 
   * @return vatRegistrationNumber
  **/
  @ApiModelProperty(value = "Customer's government-assigned tax identification number. ")
  public String getVatRegistrationNumber() {
    return vatRegistrationNumber;
  }

  public void setVatRegistrationNumber(String vatRegistrationNumber) {
    this.vatRegistrationNumber = vatRegistrationNumber;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Ptsv1pushfundstransferSenderInformation ptsv1pushfundstransferSenderInformation = (Ptsv1pushfundstransferSenderInformation) o;
    return Objects.equals(this.name, ptsv1pushfundstransferSenderInformation.name) &&
        Objects.equals(this.email, ptsv1pushfundstransferSenderInformation.email) &&
        Objects.equals(this.firstName, ptsv1pushfundstransferSenderInformation.firstName) &&
        Objects.equals(this.lastName, ptsv1pushfundstransferSenderInformation.lastName) &&
        Objects.equals(this.middleName, ptsv1pushfundstransferSenderInformation.middleName) &&
        Objects.equals(this.postalCode, ptsv1pushfundstransferSenderInformation.postalCode) &&
        Objects.equals(this.buildingNumber, ptsv1pushfundstransferSenderInformation.buildingNumber) &&
        Objects.equals(this.streetName, ptsv1pushfundstransferSenderInformation.streetName) &&
        Objects.equals(this.address1, ptsv1pushfundstransferSenderInformation.address1) &&
        Objects.equals(this.address2, ptsv1pushfundstransferSenderInformation.address2) &&
        Objects.equals(this.locality, ptsv1pushfundstransferSenderInformation.locality) &&
        Objects.equals(this.administrativeArea, ptsv1pushfundstransferSenderInformation.administrativeArea) &&
        Objects.equals(this.country, ptsv1pushfundstransferSenderInformation.country) &&
        Objects.equals(this.dateOfBirth, ptsv1pushfundstransferSenderInformation.dateOfBirth) &&
        Objects.equals(this.phoneNumber, ptsv1pushfundstransferSenderInformation.phoneNumber) &&
        Objects.equals(this.paymentInformation, ptsv1pushfundstransferSenderInformation.paymentInformation) &&
        Objects.equals(this.referenceNumber, ptsv1pushfundstransferSenderInformation.referenceNumber) &&
        Objects.equals(this.account, ptsv1pushfundstransferSenderInformation.account) &&
        Objects.equals(this.personalIdentification, ptsv1pushfundstransferSenderInformation.personalIdentification) &&
        Objects.equals(this.type, ptsv1pushfundstransferSenderInformation.type) &&
        Objects.equals(this.vatRegistrationNumber, ptsv1pushfundstransferSenderInformation.vatRegistrationNumber);
  }

  @Override
  public int hashCode() {
    return Objects.hash(name, email, firstName, lastName, middleName, postalCode, buildingNumber, streetName, address1, address2, locality, administrativeArea, country, dateOfBirth, phoneNumber, paymentInformation, referenceNumber, account, personalIdentification, type, vatRegistrationNumber);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Ptsv1pushfundstransferSenderInformation {\n");
    
    if (name != null) sb.append("    name: ").append(toIndentedString(name)).append("\n");
    if (email != null) sb.append("    email: ").append(toIndentedString(email)).append("\n");
    if (firstName != null) sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    if (lastName != null) sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    if (middleName != null) sb.append("    middleName: ").append(toIndentedString(middleName)).append("\n");
    if (postalCode != null) sb.append("    postalCode: ").append(toIndentedString(postalCode)).append("\n");
    if (buildingNumber != null) sb.append("    buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n");
    if (streetName != null) sb.append("    streetName: ").append(toIndentedString(streetName)).append("\n");
    if (address1 != null) sb.append("    address1: ").append(toIndentedString(address1)).append("\n");
    if (address2 != null) sb.append("    address2: ").append(toIndentedString(address2)).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 (dateOfBirth != null) sb.append("    dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n");
    if (phoneNumber != null) sb.append("    phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
    if (paymentInformation != null) sb.append("    paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
    if (referenceNumber != null) sb.append("    referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n");
    if (account != null) sb.append("    account: ").append(toIndentedString(account)).append("\n");
    if (personalIdentification != null) sb.append("    personalIdentification: ").append(toIndentedString(personalIdentification)).append("\n");
    if (type != null) sb.append("    type: ").append(toIndentedString(type)).append("\n");
    if (vatRegistrationNumber != null) sb.append("    vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).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