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

com.github.GBSEcom.model.CardholderInfoResponse Maven / Gradle / Ivy

Go to download

Java SDK to be used with a First Data Gateway account. This SDK has been created and packaged to offer the easiest way to integrate your application into the First Data Gateway. This SDK gives you the ability to run transactions such as sales, preauthorizations, postauthorizations, credits, voids, and returns; transaction inquiries; setting up scheduled payments and much more.

There is a newer version: 1.15.0
Show newest version
/*
 * Payment Gateway API Specification.
 * The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
 *
 * The version of the OpenAPI document: 21.2.0.20210406.001
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.github.GBSEcom.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;

/**
 * The processor Cardholder Info Response.
 */
@ApiModel(description = "The processor Cardholder Info Response.")

public class CardholderInfoResponse {
  public static final String SERIALIZED_NAME_POSTAL_CODE_OR_ZIP_MATCH = "postalCodeOrZipMatch";
  @SerializedName(SERIALIZED_NAME_POSTAL_CODE_OR_ZIP_MATCH)
  private String postalCodeOrZipMatch;

  public static final String SERIALIZED_NAME_ADDRESS_MATCH = "addressMatch";
  @SerializedName(SERIALIZED_NAME_ADDRESS_MATCH)
  private String addressMatch;

  public static final String SERIALIZED_NAME_NAME_MATCH = "nameMatch";
  @SerializedName(SERIALIZED_NAME_NAME_MATCH)
  private String nameMatch;

  public static final String SERIALIZED_NAME_TELEPHONE_MATCH = "telephoneMatch";
  @SerializedName(SERIALIZED_NAME_TELEPHONE_MATCH)
  private String telephoneMatch;

  public static final String SERIALIZED_NAME_EMAIL_MATCH = "emailMatch";
  @SerializedName(SERIALIZED_NAME_EMAIL_MATCH)
  private String emailMatch;

  public static final String SERIALIZED_NAME_ASSOCIATION_CARDHOLDER_INFO_RESPONSE = "associationCardholderInfoResponse";
  @SerializedName(SERIALIZED_NAME_ASSOCIATION_CARDHOLDER_INFO_RESPONSE)
  private String associationCardholderInfoResponse;


  public CardholderInfoResponse postalCodeOrZipMatch(String postalCodeOrZipMatch) {
    
    this.postalCodeOrZipMatch = postalCodeOrZipMatch;
    return this;
  }

   /**
   * Response if card holder postal code matches that on file.
   * @return postalCodeOrZipMatch
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "Y", value = "Response if card holder postal code matches that on file.")

  public String getPostalCodeOrZipMatch() {
    return postalCodeOrZipMatch;
  }



  public void setPostalCodeOrZipMatch(String postalCodeOrZipMatch) {
    this.postalCodeOrZipMatch = postalCodeOrZipMatch;
  }


  public CardholderInfoResponse addressMatch(String addressMatch) {
    
    this.addressMatch = addressMatch;
    return this;
  }

   /**
   * Response if card holder address matches that on file.
   * @return addressMatch
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "RETRY", value = "Response if card holder address matches that on file.")

  public String getAddressMatch() {
    return addressMatch;
  }



  public void setAddressMatch(String addressMatch) {
    this.addressMatch = addressMatch;
  }


  public CardholderInfoResponse nameMatch(String nameMatch) {
    
    this.nameMatch = nameMatch;
    return this;
  }

   /**
   * Response if card holder name matches that on file.
   * @return nameMatch
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "SERVICE_NOT_ALLOWED", value = "Response if card holder name matches that on file.")

  public String getNameMatch() {
    return nameMatch;
  }



  public void setNameMatch(String nameMatch) {
    this.nameMatch = nameMatch;
  }


  public CardholderInfoResponse telephoneMatch(String telephoneMatch) {
    
    this.telephoneMatch = telephoneMatch;
    return this;
  }

   /**
   * Response if card holder telephone matches that on file.
   * @return telephoneMatch
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "NOT_CHECKED", value = "Response if card holder telephone matches that on file.")

  public String getTelephoneMatch() {
    return telephoneMatch;
  }



  public void setTelephoneMatch(String telephoneMatch) {
    this.telephoneMatch = telephoneMatch;
  }


  public CardholderInfoResponse emailMatch(String emailMatch) {
    
    this.emailMatch = emailMatch;
    return this;
  }

   /**
   * Response if card holder email matches that on file.
   * @return emailMatch
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "N", value = "Response if card holder email matches that on file.")

  public String getEmailMatch() {
    return emailMatch;
  }



  public void setEmailMatch(String emailMatch) {
    this.emailMatch = emailMatch;
  }


  public CardholderInfoResponse associationCardholderInfoResponse(String associationCardholderInfoResponse) {
    
    this.associationCardholderInfoResponse = associationCardholderInfoResponse;
    return this;
  }

   /**
   * Raw cardholder info response from AMEX with no mapping.
   * @return associationCardholderInfoResponse
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "YNUSR", value = "Raw cardholder info response from AMEX with no mapping.")

  public String getAssociationCardholderInfoResponse() {
    return associationCardholderInfoResponse;
  }



  public void setAssociationCardholderInfoResponse(String associationCardholderInfoResponse) {
    this.associationCardholderInfoResponse = associationCardholderInfoResponse;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CardholderInfoResponse cardholderInfoResponse = (CardholderInfoResponse) o;
    return Objects.equals(this.postalCodeOrZipMatch, cardholderInfoResponse.postalCodeOrZipMatch) &&
        Objects.equals(this.addressMatch, cardholderInfoResponse.addressMatch) &&
        Objects.equals(this.nameMatch, cardholderInfoResponse.nameMatch) &&
        Objects.equals(this.telephoneMatch, cardholderInfoResponse.telephoneMatch) &&
        Objects.equals(this.emailMatch, cardholderInfoResponse.emailMatch) &&
        Objects.equals(this.associationCardholderInfoResponse, cardholderInfoResponse.associationCardholderInfoResponse);
  }

  @Override
  public int hashCode() {
    return Objects.hash(postalCodeOrZipMatch, addressMatch, nameMatch, telephoneMatch, emailMatch, associationCardholderInfoResponse);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CardholderInfoResponse {\n");
    sb.append("    postalCodeOrZipMatch: ").append(toIndentedString(postalCodeOrZipMatch)).append("\n");
    sb.append("    addressMatch: ").append(toIndentedString(addressMatch)).append("\n");
    sb.append("    nameMatch: ").append(toIndentedString(nameMatch)).append("\n");
    sb.append("    telephoneMatch: ").append(toIndentedString(telephoneMatch)).append("\n");
    sb.append("    emailMatch: ").append(toIndentedString(emailMatch)).append("\n");
    sb.append("    associationCardholderInfoResponse: ").append(toIndentedString(associationCardholderInfoResponse)).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