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

Model.PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches 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;
import java.util.ArrayList;
import java.util.List;

/**
 * PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches
 */

public class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches {
  @SerializedName("addresses")
  private List addresses = null;

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

  @SerializedName("aliases")
  private List aliases = null;

  @SerializedName("programs")
  private List programs = null;

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches addresses(List addresses) {
    this.addresses = addresses;
    return this;
  }

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches addAddressesItem(String addressesItem) {
    if (this.addresses == null) {
      this.addresses = new ArrayList();
    }
    this.addresses.add(addressesItem);
    return this;
  }

   /**
   * Address found on the list specified in export_matchN_list for the entity (name and address) in the request. 
   * @return addresses
  **/
  @ApiModelProperty(value = "Address found on the list specified in export_matchN_list for the entity (name and address) in the request. ")
  public List getAddresses() {
    return addresses;
  }

  public void setAddresses(List addresses) {
    this.addresses = addresses;
  }

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches sanctionList(String sanctionList) {
    this.sanctionList = sanctionList;
    return this;
  }

   /**
   * List on which the first Denied Parties List check match appears. For a list of codes, see \"Denied Parties List Check Codes,\" page 56. 
   * @return sanctionList
  **/
  @ApiModelProperty(value = "List on which the first Denied Parties List check match appears. For a list of codes, see \"Denied Parties List Check Codes,\" page 56. ")
  public String getSanctionList() {
    return sanctionList;
  }

  public void setSanctionList(String sanctionList) {
    this.sanctionList = sanctionList;
  }

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches aliases(List aliases) {
    this.aliases = aliases;
    return this;
  }

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches addAliasesItem(String aliasesItem) {
    if (this.aliases == null) {
      this.aliases = new ArrayList();
    }
    this.aliases.add(aliasesItem);
    return this;
  }

   /**
   * Name found on the list specified in export_matchN_list for the entity (name and address) in the request. 
   * @return aliases
  **/
  @ApiModelProperty(value = "Name found on the list specified in export_matchN_list for the entity (name and address) in the request. ")
  public List getAliases() {
    return aliases;
  }

  public void setAliases(List aliases) {
    this.aliases = aliases;
  }

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches programs(List programs) {
    this.programs = programs;
    return this;
  }

  public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches addProgramsItem(String programsItem) {
    if (this.programs == null) {
      this.programs = new ArrayList();
    }
    this.programs.add(programsItem);
    return this;
  }

   /**
   * Sub-lists matched by the order data. List members are separated by carets (^).
   * @return programs
  **/
  @ApiModelProperty(value = "Sub-lists matched by the order data. List members are separated by carets (^).")
  public List getPrograms() {
    return programs;
  }

  public void setPrograms(List programs) {
    this.programs = programs;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches ptsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches = (PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches) o;
    return Objects.equals(this.addresses, ptsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.addresses) &&
        Objects.equals(this.sanctionList, ptsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.sanctionList) &&
        Objects.equals(this.aliases, ptsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.aliases) &&
        Objects.equals(this.programs, ptsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.programs);
  }

  @Override
  public int hashCode() {
    return Objects.hash(addresses, sanctionList, aliases, programs);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches {\n");
    
    sb.append("    addresses: ").append(toIndentedString(addresses)).append("\n");
    sb.append("    sanctionList: ").append(toIndentedString(sanctionList)).append("\n");
    sb.append("    aliases: ").append(toIndentedString(aliases)).append("\n");
    sb.append("    programs: ").append(toIndentedString(programs)).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