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

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

/**
 * TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation
 */

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

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

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

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

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

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

   /**
   * This field contains the issuer name. 
   * @return name
  **/
  @ApiModelProperty(value = "This field contains the issuer name. ")
  public String getName() {
    return name;
  }

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

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

   /**
   * This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer. 
   * @return country
  **/
  @ApiModelProperty(value = "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer. ")
  public String getCountry() {
    return country;
  }

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

  public TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation binLength(String binLength) {
    this.binLength = binLength;
    return this;
  }

   /**
   * This field contains the length of the BIN. 
   * @return binLength
  **/
  @ApiModelProperty(value = "This field contains the length of the BIN. ")
  public String getBinLength() {
    return binLength;
  }

  public void setBinLength(String binLength) {
    this.binLength = binLength;
  }

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

   /**
   * This field contains the customer service phone number for the issuer. 
   * @return phoneNumber
  **/
  @ApiModelProperty(value = "This field contains the customer service phone number for the issuer. ")
  public String getPhoneNumber() {
    return phoneNumber;
  }

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

  public TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation transactionInformation(String transactionInformation) {
    this.transactionInformation = transactionInformation;
    return this;
  }

   /**
   * In a Mastercard Transaction, this field contains the unique identifier (Transaction Link ID) for the first transaction in a transaction life cycle.  This ID is crucial for maintaining continuity and linking subsequent operations to the original transaction. 
   * @return transactionInformation
  **/
  @ApiModelProperty(value = "In a Mastercard Transaction, this field contains the unique identifier (Transaction Link ID) for the first transaction in a transaction life cycle.  This ID is crucial for maintaining continuity and linking subsequent operations to the original transaction. ")
  public String getTransactionInformation() {
    return transactionInformation;
  }

  public void setTransactionInformation(String transactionInformation) {
    this.transactionInformation = transactionInformation;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation tssV2TransactionsGet200ResponsePaymentInformationIssuerInformation = (TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation) o;
    return Objects.equals(this.name, tssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.name) &&
        Objects.equals(this.country, tssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.country) &&
        Objects.equals(this.binLength, tssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.binLength) &&
        Objects.equals(this.phoneNumber, tssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.phoneNumber) &&
        Objects.equals(this.transactionInformation, tssV2TransactionsGet200ResponsePaymentInformationIssuerInformation.transactionInformation);
  }

  @Override
  public int hashCode() {
    return Objects.hash(name, country, binLength, phoneNumber, transactionInformation);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation {\n");
    
    if (name != null) sb.append("    name: ").append(toIndentedString(name)).append("\n");
    if (country != null) sb.append("    country: ").append(toIndentedString(country)).append("\n");
    if (binLength != null) sb.append("    binLength: ").append(toIndentedString(binLength)).append("\n");
    if (phoneNumber != null) sb.append("    phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
    if (transactionInformation != null) sb.append("    transactionInformation: ").append(toIndentedString(transactionInformation)).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