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

Model.InlineResponse2012Setups 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.InlineResponse2012SetupsCommerceSolutions;
import Model.InlineResponse2012SetupsPayments;
import Model.InlineResponse2012SetupsRisk;
import Model.InlineResponse2012SetupsValueAddedServices;
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;

/**
 * InlineResponse2012Setups
 */

public class InlineResponse2012Setups {
  @SerializedName("payments")
  private InlineResponse2012SetupsPayments payments = null;

  @SerializedName("risk")
  private InlineResponse2012SetupsRisk risk = null;

  @SerializedName("commerceSolutions")
  private InlineResponse2012SetupsCommerceSolutions commerceSolutions = null;

  @SerializedName("valueAddedServices")
  private InlineResponse2012SetupsValueAddedServices valueAddedServices = null;

  public InlineResponse2012Setups payments(InlineResponse2012SetupsPayments payments) {
    this.payments = payments;
    return this;
  }

   /**
   * Get payments
   * @return payments
  **/
  @ApiModelProperty(value = "")
  public InlineResponse2012SetupsPayments getPayments() {
    return payments;
  }

  public void setPayments(InlineResponse2012SetupsPayments payments) {
    this.payments = payments;
  }

  public InlineResponse2012Setups risk(InlineResponse2012SetupsRisk risk) {
    this.risk = risk;
    return this;
  }

   /**
   * Get risk
   * @return risk
  **/
  @ApiModelProperty(value = "")
  public InlineResponse2012SetupsRisk getRisk() {
    return risk;
  }

  public void setRisk(InlineResponse2012SetupsRisk risk) {
    this.risk = risk;
  }

  public InlineResponse2012Setups commerceSolutions(InlineResponse2012SetupsCommerceSolutions commerceSolutions) {
    this.commerceSolutions = commerceSolutions;
    return this;
  }

   /**
   * Get commerceSolutions
   * @return commerceSolutions
  **/
  @ApiModelProperty(value = "")
  public InlineResponse2012SetupsCommerceSolutions getCommerceSolutions() {
    return commerceSolutions;
  }

  public void setCommerceSolutions(InlineResponse2012SetupsCommerceSolutions commerceSolutions) {
    this.commerceSolutions = commerceSolutions;
  }

  public InlineResponse2012Setups valueAddedServices(InlineResponse2012SetupsValueAddedServices valueAddedServices) {
    this.valueAddedServices = valueAddedServices;
    return this;
  }

   /**
   * Get valueAddedServices
   * @return valueAddedServices
  **/
  @ApiModelProperty(value = "")
  public InlineResponse2012SetupsValueAddedServices getValueAddedServices() {
    return valueAddedServices;
  }

  public void setValueAddedServices(InlineResponse2012SetupsValueAddedServices valueAddedServices) {
    this.valueAddedServices = valueAddedServices;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    InlineResponse2012Setups inlineResponse2012Setups = (InlineResponse2012Setups) o;
    return Objects.equals(this.payments, inlineResponse2012Setups.payments) &&
        Objects.equals(this.risk, inlineResponse2012Setups.risk) &&
        Objects.equals(this.commerceSolutions, inlineResponse2012Setups.commerceSolutions) &&
        Objects.equals(this.valueAddedServices, inlineResponse2012Setups.valueAddedServices);
  }

  @Override
  public int hashCode() {
    return Objects.hash(payments, risk, commerceSolutions, valueAddedServices);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class InlineResponse2012Setups {\n");
    
    if (payments != null) sb.append("    payments: ").append(toIndentedString(payments)).append("\n");
    if (risk != null) sb.append("    risk: ").append(toIndentedString(risk)).append("\n");
    if (commerceSolutions != null) sb.append("    commerceSolutions: ").append(toIndentedString(commerceSolutions)).append("\n");
    if (valueAddedServices != null) sb.append("    valueAddedServices: ").append(toIndentedString(valueAddedServices)).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