
Model.PayerAuthSetupRequest 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.Riskv1authenticationsetupsClientReferenceInformation;
import Model.Riskv1authenticationsetupsPaymentInformation;
import Model.Riskv1authenticationsetupsProcessingInformation;
import Model.Riskv1authenticationsetupsTokenInformation;
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;
/**
* PayerAuthSetupRequest
*/
public class PayerAuthSetupRequest {
@SerializedName("clientReferenceInformation")
private Riskv1authenticationsetupsClientReferenceInformation clientReferenceInformation = null;
@SerializedName("paymentInformation")
private Riskv1authenticationsetupsPaymentInformation paymentInformation = null;
@SerializedName("processingInformation")
private Riskv1authenticationsetupsProcessingInformation processingInformation = null;
@SerializedName("tokenInformation")
private Riskv1authenticationsetupsTokenInformation tokenInformation = null;
public PayerAuthSetupRequest 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 PayerAuthSetupRequest paymentInformation(Riskv1authenticationsetupsPaymentInformation paymentInformation) {
this.paymentInformation = paymentInformation;
return this;
}
/**
* Get paymentInformation
* @return paymentInformation
**/
@ApiModelProperty(value = "")
public Riskv1authenticationsetupsPaymentInformation getPaymentInformation() {
return paymentInformation;
}
public void setPaymentInformation(Riskv1authenticationsetupsPaymentInformation paymentInformation) {
this.paymentInformation = paymentInformation;
}
public PayerAuthSetupRequest 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 PayerAuthSetupRequest tokenInformation(Riskv1authenticationsetupsTokenInformation tokenInformation) {
this.tokenInformation = tokenInformation;
return this;
}
/**
* Get tokenInformation
* @return tokenInformation
**/
@ApiModelProperty(value = "")
public Riskv1authenticationsetupsTokenInformation getTokenInformation() {
return tokenInformation;
}
public void setTokenInformation(Riskv1authenticationsetupsTokenInformation 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;
}
PayerAuthSetupRequest payerAuthSetupRequest = (PayerAuthSetupRequest) o;
return Objects.equals(this.clientReferenceInformation, payerAuthSetupRequest.clientReferenceInformation) &&
Objects.equals(this.paymentInformation, payerAuthSetupRequest.paymentInformation) &&
Objects.equals(this.processingInformation, payerAuthSetupRequest.processingInformation) &&
Objects.equals(this.tokenInformation, payerAuthSetupRequest.tokenInformation);
}
@Override
public int hashCode() {
return Objects.hash(clientReferenceInformation, paymentInformation, processingInformation, tokenInformation);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayerAuthSetupRequest {\n");
if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).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