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

Model.Ptsv2paymentsidcapturesAggregatorInformation 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 Model.Ptsv2paymentsidcapturesAggregatorInformationSubMerchant;
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;

/**
 * Ptsv2paymentsidcapturesAggregatorInformation
 */

public class Ptsv2paymentsidcapturesAggregatorInformation {
  @SerializedName("aggregatorId")
  private String aggregatorId = null;

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

  @SerializedName("subMerchant")
  private Ptsv2paymentsidcapturesAggregatorInformationSubMerchant subMerchant = null;

  public Ptsv2paymentsidcapturesAggregatorInformation aggregatorId(String aggregatorId) {
    this.aggregatorId = aggregatorId;
    return this;
  }

   /**
   * Value that identifies you as a payment aggregator. Get this value from the processor.  #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR6 - Position: 95-105 - Field: Payment Facilitator ID  This field is supported for Visa, Mastercard and Discover Transactions.  **FDC Compass**\\ This value must consist of uppercase characters. 
   * @return aggregatorId
  **/
  @ApiModelProperty(value = "Value that identifies you as a payment aggregator. Get this value from the processor.  #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR6 - Position: 95-105 - Field: Payment Facilitator ID  This field is supported for Visa, Mastercard and Discover Transactions.  **FDC Compass**\\ This value must consist of uppercase characters. ")
  public String getAggregatorId() {
    return aggregatorId;
  }

  public void setAggregatorId(String aggregatorId) {
    this.aggregatorId = aggregatorId;
  }

  public Ptsv2paymentsidcapturesAggregatorInformation name(String name) {
    this.name = name;
    return this;
  }

   /**
   * Your payment aggregator business name.  **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\  #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5.  **FDC Compass**\\ This value must consist of uppercase characters. 
   * @return name
  **/
  @ApiModelProperty(value = "Your payment aggregator business name.  **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\  #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5.  **FDC Compass**\\ This value must consist of uppercase characters. ")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Ptsv2paymentsidcapturesAggregatorInformation subMerchant(Ptsv2paymentsidcapturesAggregatorInformationSubMerchant subMerchant) {
    this.subMerchant = subMerchant;
    return this;
  }

   /**
   * Get subMerchant
   * @return subMerchant
  **/
  @ApiModelProperty(value = "")
  public Ptsv2paymentsidcapturesAggregatorInformationSubMerchant getSubMerchant() {
    return subMerchant;
  }

  public void setSubMerchant(Ptsv2paymentsidcapturesAggregatorInformationSubMerchant subMerchant) {
    this.subMerchant = subMerchant;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Ptsv2paymentsidcapturesAggregatorInformation ptsv2paymentsidcapturesAggregatorInformation = (Ptsv2paymentsidcapturesAggregatorInformation) o;
    return Objects.equals(this.aggregatorId, ptsv2paymentsidcapturesAggregatorInformation.aggregatorId) &&
        Objects.equals(this.name, ptsv2paymentsidcapturesAggregatorInformation.name) &&
        Objects.equals(this.subMerchant, ptsv2paymentsidcapturesAggregatorInformation.subMerchant);
  }

  @Override
  public int hashCode() {
    return Objects.hash(aggregatorId, name, subMerchant);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Ptsv2paymentsidcapturesAggregatorInformation {\n");
    
    sb.append("    aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    subMerchant: ").append(toIndentedString(subMerchant)).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