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

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

/**
 * Riskv1decisionsAcquirerInformation
 */

public class Riskv1decisionsAcquirerInformation {
  @SerializedName("acquirerBin")
  private String acquirerBin = null;

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

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

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

  public Riskv1decisionsAcquirerInformation acquirerBin(String acquirerBin) {
    this.acquirerBin = acquirerBin;
    return this;
  }

   /**
   * Acquirer bank ID number that  corresponds to a certificate that Cybersource already has.This ID has this format. 4XXXXX for Visa and 5XXXXX for Mastercard. 
   * @return acquirerBin
  **/
  @ApiModelProperty(value = "Acquirer bank ID number that  corresponds to a certificate that Cybersource already has.This ID has this format. 4XXXXX for Visa and 5XXXXX for Mastercard. ")
  public String getAcquirerBin() {
    return acquirerBin;
  }

  public void setAcquirerBin(String acquirerBin) {
    this.acquirerBin = acquirerBin;
  }

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

   /**
   * Issuers need to be aware of the Acquirer's Country Code when the Acquirer country differs from the Merchant country and the Acquirer is in the EEA (European Economic Area). 
   * @return country
  **/
  @ApiModelProperty(value = "Issuers need to be aware of the Acquirer's Country Code when the Acquirer country differs from the Merchant country and the Acquirer is in the EEA (European Economic Area). ")
  public String getCountry() {
    return country;
  }

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

  public Riskv1decisionsAcquirerInformation password(String password) {
    this.password = password;
    return this;
  }

   /**
   * Registered password for the Visa directory server. 
   * @return password
  **/
  @ApiModelProperty(value = "Registered password for the Visa directory server. ")
  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public Riskv1decisionsAcquirerInformation merchantId(String merchantId) {
    this.merchantId = merchantId;
    return this;
  }

   /**
   * Username for the visa directory server that is created when your acquirer sets up your account. This ID might be the same as your merchant ID. the username can be 15 or 23 characters. 
   * @return merchantId
  **/
  @ApiModelProperty(value = "Username for the visa directory server that is created when your acquirer sets up your account. This ID might be the same as your merchant ID. the username can be 15 or 23 characters. ")
  public String getMerchantId() {
    return merchantId;
  }

  public void setMerchantId(String merchantId) {
    this.merchantId = merchantId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Riskv1decisionsAcquirerInformation riskv1decisionsAcquirerInformation = (Riskv1decisionsAcquirerInformation) o;
    return Objects.equals(this.acquirerBin, riskv1decisionsAcquirerInformation.acquirerBin) &&
        Objects.equals(this.country, riskv1decisionsAcquirerInformation.country) &&
        Objects.equals(this.password, riskv1decisionsAcquirerInformation.password) &&
        Objects.equals(this.merchantId, riskv1decisionsAcquirerInformation.merchantId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(acquirerBin, country, password, merchantId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Riskv1decisionsAcquirerInformation {\n");
    
    if (acquirerBin != null) sb.append("    acquirerBin: ").append(toIndentedString(acquirerBin)).append("\n");
    if (country != null) sb.append("    country: ").append(toIndentedString(country)).append("\n");
    if (password != null) sb.append("    password: ").append(toIndentedString(password)).append("\n");
    if (merchantId != null) sb.append("    merchantId: ").append(toIndentedString(merchantId)).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