
Model.PushFunds201ResponseMerchantInformationMerchantDescriptor Maven / Gradle / Ivy
/*
* 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;
/**
* PushFunds201ResponseMerchantInformationMerchantDescriptor
*/
public class PushFunds201ResponseMerchantInformationMerchantDescriptor {
@SerializedName("name")
private String name = null;
@SerializedName("locality")
private String locality = null;
@SerializedName("country")
private String country = null;
public PushFunds201ResponseMerchantInformationMerchantDescriptor name(String name) {
this.name = name;
return this;
}
/**
* Your merchant name. Note For Chase Paymentech, the maximum data length is 22.
* @return name
**/
@ApiModelProperty(value = "Your merchant name. Note For Chase Paymentech, the maximum data length is 22. ")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public PushFunds201ResponseMerchantInformationMerchantDescriptor locality(String locality) {
this.locality = locality;
return this;
}
/**
* Merchant's City.
* @return locality
**/
@ApiModelProperty(value = "Merchant's City. ")
public String getLocality() {
return locality;
}
public void setLocality(String locality) {
this.locality = locality;
}
public PushFunds201ResponseMerchantInformationMerchantDescriptor country(String country) {
this.country = country;
return this;
}
/**
* Merchant's country. Country code for your business location. ISO Standard Alpha Country Code. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
* @return country
**/
@ApiModelProperty(value = "Merchant's country. Country code for your business location. ISO Standard Alpha Country Code. 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PushFunds201ResponseMerchantInformationMerchantDescriptor pushFunds201ResponseMerchantInformationMerchantDescriptor = (PushFunds201ResponseMerchantInformationMerchantDescriptor) o;
return Objects.equals(this.name, pushFunds201ResponseMerchantInformationMerchantDescriptor.name) &&
Objects.equals(this.locality, pushFunds201ResponseMerchantInformationMerchantDescriptor.locality) &&
Objects.equals(this.country, pushFunds201ResponseMerchantInformationMerchantDescriptor.country);
}
@Override
public int hashCode() {
return Objects.hash(name, locality, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PushFunds201ResponseMerchantInformationMerchantDescriptor {\n");
if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n");
if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n");
if (country != null) sb.append(" country: ").append(toIndentedString(country)).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