Model.Rbsv1plansClientReferenceInformation 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.Riskv1decisionsClientReferenceInformationPartner;
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;
/**
* Rbsv1plansClientReferenceInformation
*/
public class Rbsv1plansClientReferenceInformation {
@SerializedName("comments")
private String comments = null;
@SerializedName("partner")
private Riskv1decisionsClientReferenceInformationPartner partner = null;
@SerializedName("applicationName")
private String applicationName = null;
@SerializedName("applicationVersion")
private String applicationVersion = null;
@SerializedName("applicationUser")
private String applicationUser = null;
public Rbsv1plansClientReferenceInformation comments(String comments) {
this.comments = comments;
return this;
}
/**
* Brief description of the order or any comment you wish to add to the order.
* @return comments
**/
@ApiModelProperty(value = "Brief description of the order or any comment you wish to add to the order. ")
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
public Rbsv1plansClientReferenceInformation partner(Riskv1decisionsClientReferenceInformationPartner partner) {
this.partner = partner;
return this;
}
/**
* Get partner
* @return partner
**/
@ApiModelProperty(value = "")
public Riskv1decisionsClientReferenceInformationPartner getPartner() {
return partner;
}
public void setPartner(Riskv1decisionsClientReferenceInformationPartner partner) {
this.partner = partner;
}
public Rbsv1plansClientReferenceInformation applicationName(String applicationName) {
this.applicationName = applicationName;
return this;
}
/**
* The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.
* @return applicationName
**/
@ApiModelProperty(value = "The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. ")
public String getApplicationName() {
return applicationName;
}
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}
public Rbsv1plansClientReferenceInformation applicationVersion(String applicationVersion) {
this.applicationVersion = applicationVersion;
return this;
}
/**
* Version of the CyberSource application or integration used for a transaction.
* @return applicationVersion
**/
@ApiModelProperty(value = "Version of the CyberSource application or integration used for a transaction. ")
public String getApplicationVersion() {
return applicationVersion;
}
public void setApplicationVersion(String applicationVersion) {
this.applicationVersion = applicationVersion;
}
public Rbsv1plansClientReferenceInformation applicationUser(String applicationUser) {
this.applicationUser = applicationUser;
return this;
}
/**
* The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.
* @return applicationUser
**/
@ApiModelProperty(value = "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. ")
public String getApplicationUser() {
return applicationUser;
}
public void setApplicationUser(String applicationUser) {
this.applicationUser = applicationUser;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Rbsv1plansClientReferenceInformation rbsv1plansClientReferenceInformation = (Rbsv1plansClientReferenceInformation) o;
return Objects.equals(this.comments, rbsv1plansClientReferenceInformation.comments) &&
Objects.equals(this.partner, rbsv1plansClientReferenceInformation.partner) &&
Objects.equals(this.applicationName, rbsv1plansClientReferenceInformation.applicationName) &&
Objects.equals(this.applicationVersion, rbsv1plansClientReferenceInformation.applicationVersion) &&
Objects.equals(this.applicationUser, rbsv1plansClientReferenceInformation.applicationUser);
}
@Override
public int hashCode() {
return Objects.hash(comments, partner, applicationName, applicationVersion, applicationUser);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Rbsv1plansClientReferenceInformation {\n");
sb.append(" comments: ").append(toIndentedString(comments)).append("\n");
sb.append(" partner: ").append(toIndentedString(partner)).append("\n");
sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n");
sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n");
sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).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