
Model.TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation Maven / Gradle / Ivy
The 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;
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;
}
@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);
}
@Override
public int hashCode() {
return Objects.hash(name, country, binLength, phoneNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" binLength: ").append(toIndentedString(binLength)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).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 ");
}
}