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

Model.Ptsv2paymentsAggregatorInformation 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 Model.Ptsv2paymentsAggregatorInformationSubMerchant;
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;

/**
 * Ptsv2paymentsAggregatorInformation
 */

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

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

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

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

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

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

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

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

  public Ptsv2paymentsAggregatorInformation 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 Ptsv2paymentsAggregatorInformation 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 Ptsv2paymentsAggregatorInformation subMerchant(Ptsv2paymentsAggregatorInformationSubMerchant subMerchant) {
    this.subMerchant = subMerchant;
    return this;
  }

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

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

  public Ptsv2paymentsAggregatorInformation streetAddress(String streetAddress) {
    this.streetAddress = streetAddress;
    return this;
  }

   /**
   * Acquirer street name.
   * @return streetAddress
  **/
  @ApiModelProperty(value = "Acquirer street name.")
  public String getStreetAddress() {
    return streetAddress;
  }

  public void setStreetAddress(String streetAddress) {
    this.streetAddress = streetAddress;
  }

  public Ptsv2paymentsAggregatorInformation city(String city) {
    this.city = city;
    return this;
  }

   /**
   * Acquirer city.
   * @return city
  **/
  @ApiModelProperty(value = "Acquirer city.")
  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public Ptsv2paymentsAggregatorInformation state(String state) {
    this.state = state;
    return this;
  }

   /**
   * Acquirer state.
   * @return state
  **/
  @ApiModelProperty(value = "Acquirer state.")
  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public Ptsv2paymentsAggregatorInformation postalCode(String postalCode) {
    this.postalCode = postalCode;
    return this;
  }

   /**
   * Acquirer postal code.
   * @return postalCode
  **/
  @ApiModelProperty(value = "Acquirer postal code.")
  public String getPostalCode() {
    return postalCode;
  }

  public void setPostalCode(String postalCode) {
    this.postalCode = postalCode;
  }

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

   /**
   * Acquirer country.
   * @return country
  **/
  @ApiModelProperty(value = "Acquirer country.")
  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;
    }
    Ptsv2paymentsAggregatorInformation ptsv2paymentsAggregatorInformation = (Ptsv2paymentsAggregatorInformation) o;
    return Objects.equals(this.aggregatorId, ptsv2paymentsAggregatorInformation.aggregatorId) &&
        Objects.equals(this.name, ptsv2paymentsAggregatorInformation.name) &&
        Objects.equals(this.subMerchant, ptsv2paymentsAggregatorInformation.subMerchant) &&
        Objects.equals(this.streetAddress, ptsv2paymentsAggregatorInformation.streetAddress) &&
        Objects.equals(this.city, ptsv2paymentsAggregatorInformation.city) &&
        Objects.equals(this.state, ptsv2paymentsAggregatorInformation.state) &&
        Objects.equals(this.postalCode, ptsv2paymentsAggregatorInformation.postalCode) &&
        Objects.equals(this.country, ptsv2paymentsAggregatorInformation.country);
  }

  @Override
  public int hashCode() {
    return Objects.hash(aggregatorId, name, subMerchant, streetAddress, city, state, postalCode, country);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Ptsv2paymentsAggregatorInformation {\n");
    
    if (aggregatorId != null) sb.append("    aggregatorId: ").append(toIndentedString(aggregatorId)).append("\n");
    if (name != null) sb.append("    name: ").append(toIndentedString(name)).append("\n");
    if (subMerchant != null) sb.append("    subMerchant: ").append(toIndentedString(subMerchant)).append("\n");
    if (streetAddress != null) sb.append("    streetAddress: ").append(toIndentedString(streetAddress)).append("\n");
    if (city != null) sb.append("    city: ").append(toIndentedString(city)).append("\n");
    if (state != null) sb.append("    state: ").append(toIndentedString(state)).append("\n");
    if (postalCode != null) sb.append("    postalCode: ").append(toIndentedString(postalCode)).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