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

Model.ValidateRequest 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.Riskv1authenticationresultsConsumerAuthenticationInformation;
import Model.Riskv1authenticationresultsDeviceInformation;
import Model.Riskv1authenticationresultsOrderInformation;
import Model.Riskv1authenticationresultsPaymentInformation;
import Model.Riskv1authenticationsetupsClientReferenceInformation;
import Model.Riskv1authenticationsetupsProcessingInformation;
import Model.Riskv1decisionsTokenInformation;
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;

/**
 * ValidateRequest
 */

public class ValidateRequest {
  @SerializedName("clientReferenceInformation")
  private Riskv1authenticationsetupsClientReferenceInformation clientReferenceInformation = null;

  @SerializedName("processingInformation")
  private Riskv1authenticationsetupsProcessingInformation processingInformation = null;

  @SerializedName("orderInformation")
  private Riskv1authenticationresultsOrderInformation orderInformation = null;

  @SerializedName("paymentInformation")
  private Riskv1authenticationresultsPaymentInformation paymentInformation = null;

  @SerializedName("consumerAuthenticationInformation")
  private Riskv1authenticationresultsConsumerAuthenticationInformation consumerAuthenticationInformation = null;

  @SerializedName("deviceInformation")
  private Riskv1authenticationresultsDeviceInformation deviceInformation = null;

  @SerializedName("tokenInformation")
  private Riskv1decisionsTokenInformation tokenInformation = null;

  public ValidateRequest clientReferenceInformation(Riskv1authenticationsetupsClientReferenceInformation clientReferenceInformation) {
    this.clientReferenceInformation = clientReferenceInformation;
    return this;
  }

   /**
   * Get clientReferenceInformation
   * @return clientReferenceInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1authenticationsetupsClientReferenceInformation getClientReferenceInformation() {
    return clientReferenceInformation;
  }

  public void setClientReferenceInformation(Riskv1authenticationsetupsClientReferenceInformation clientReferenceInformation) {
    this.clientReferenceInformation = clientReferenceInformation;
  }

  public ValidateRequest processingInformation(Riskv1authenticationsetupsProcessingInformation processingInformation) {
    this.processingInformation = processingInformation;
    return this;
  }

   /**
   * Get processingInformation
   * @return processingInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1authenticationsetupsProcessingInformation getProcessingInformation() {
    return processingInformation;
  }

  public void setProcessingInformation(Riskv1authenticationsetupsProcessingInformation processingInformation) {
    this.processingInformation = processingInformation;
  }

  public ValidateRequest orderInformation(Riskv1authenticationresultsOrderInformation orderInformation) {
    this.orderInformation = orderInformation;
    return this;
  }

   /**
   * Get orderInformation
   * @return orderInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1authenticationresultsOrderInformation getOrderInformation() {
    return orderInformation;
  }

  public void setOrderInformation(Riskv1authenticationresultsOrderInformation orderInformation) {
    this.orderInformation = orderInformation;
  }

  public ValidateRequest paymentInformation(Riskv1authenticationresultsPaymentInformation paymentInformation) {
    this.paymentInformation = paymentInformation;
    return this;
  }

   /**
   * Get paymentInformation
   * @return paymentInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1authenticationresultsPaymentInformation getPaymentInformation() {
    return paymentInformation;
  }

  public void setPaymentInformation(Riskv1authenticationresultsPaymentInformation paymentInformation) {
    this.paymentInformation = paymentInformation;
  }

  public ValidateRequest consumerAuthenticationInformation(Riskv1authenticationresultsConsumerAuthenticationInformation consumerAuthenticationInformation) {
    this.consumerAuthenticationInformation = consumerAuthenticationInformation;
    return this;
  }

   /**
   * Get consumerAuthenticationInformation
   * @return consumerAuthenticationInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1authenticationresultsConsumerAuthenticationInformation getConsumerAuthenticationInformation() {
    return consumerAuthenticationInformation;
  }

  public void setConsumerAuthenticationInformation(Riskv1authenticationresultsConsumerAuthenticationInformation consumerAuthenticationInformation) {
    this.consumerAuthenticationInformation = consumerAuthenticationInformation;
  }

  public ValidateRequest deviceInformation(Riskv1authenticationresultsDeviceInformation deviceInformation) {
    this.deviceInformation = deviceInformation;
    return this;
  }

   /**
   * Get deviceInformation
   * @return deviceInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1authenticationresultsDeviceInformation getDeviceInformation() {
    return deviceInformation;
  }

  public void setDeviceInformation(Riskv1authenticationresultsDeviceInformation deviceInformation) {
    this.deviceInformation = deviceInformation;
  }

  public ValidateRequest tokenInformation(Riskv1decisionsTokenInformation tokenInformation) {
    this.tokenInformation = tokenInformation;
    return this;
  }

   /**
   * Get tokenInformation
   * @return tokenInformation
  **/
  @ApiModelProperty(value = "")
  public Riskv1decisionsTokenInformation getTokenInformation() {
    return tokenInformation;
  }

  public void setTokenInformation(Riskv1decisionsTokenInformation tokenInformation) {
    this.tokenInformation = tokenInformation;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ValidateRequest validateRequest = (ValidateRequest) o;
    return Objects.equals(this.clientReferenceInformation, validateRequest.clientReferenceInformation) &&
        Objects.equals(this.processingInformation, validateRequest.processingInformation) &&
        Objects.equals(this.orderInformation, validateRequest.orderInformation) &&
        Objects.equals(this.paymentInformation, validateRequest.paymentInformation) &&
        Objects.equals(this.consumerAuthenticationInformation, validateRequest.consumerAuthenticationInformation) &&
        Objects.equals(this.deviceInformation, validateRequest.deviceInformation) &&
        Objects.equals(this.tokenInformation, validateRequest.tokenInformation);
  }

  @Override
  public int hashCode() {
    return Objects.hash(clientReferenceInformation, processingInformation, orderInformation, paymentInformation, consumerAuthenticationInformation, deviceInformation, tokenInformation);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ValidateRequest {\n");
    
    if (clientReferenceInformation != null) sb.append("    clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
    if (processingInformation != null) sb.append("    processingInformation: ").append(toIndentedString(processingInformation)).append("\n");
    if (orderInformation != null) sb.append("    orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
    if (paymentInformation != null) sb.append("    paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
    if (consumerAuthenticationInformation != null) sb.append("    consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n");
    if (deviceInformation != null) sb.append("    deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n");
    if (tokenInformation != null) sb.append("    tokenInformation: ").append(toIndentedString(tokenInformation)).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