
Model.TssV2TransactionsGet200ResponseApplicationInformation 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.TssV2TransactionsGet200ResponseApplicationInformationApplications;
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;
import java.util.ArrayList;
import java.util.List;
/**
* TssV2TransactionsGet200ResponseApplicationInformation
*/
public class TssV2TransactionsGet200ResponseApplicationInformation {
@SerializedName("status")
private String status = null;
@SerializedName("reasonCode")
private String reasonCode = null;
@SerializedName("rCode")
private String rCode = null;
@SerializedName("rFlag")
private String rFlag = null;
@SerializedName("applications")
private List applications = null;
public TssV2TransactionsGet200ResponseApplicationInformation status(String status) {
this.status = status;
return this;
}
/**
* The status of the submitted transaction.
* @return status
**/
@ApiModelProperty(value = "The status of the submitted transaction.")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public TssV2TransactionsGet200ResponseApplicationInformation reasonCode(String reasonCode) {
this.reasonCode = reasonCode;
return this;
}
/**
* Indicates the reason why a request succeeded or failed and possible action to take if a request fails. For details, see the appendix of reason codes in the documentation for the relevant payment method.
* @return reasonCode
**/
@ApiModelProperty(value = "Indicates the reason why a request succeeded or failed and possible action to take if a request fails. For details, see the appendix of reason codes in the documentation for the relevant payment method. ")
public String getReasonCode() {
return reasonCode;
}
public void setReasonCode(String reasonCode) {
this.reasonCode = reasonCode;
}
public TssV2TransactionsGet200ResponseApplicationInformation rCode(String rCode) {
this.rCode = rCode;
return this;
}
/**
* Indicates whether the service request was successful. Possible values: - `-1`: An error occurred. - `0`: The request was declined. - `1`: The request was successful.
* @return rCode
**/
@ApiModelProperty(value = "Indicates whether the service request was successful. Possible values: - `-1`: An error occurred. - `0`: The request was declined. - `1`: The request was successful. ")
public String getRCode() {
return rCode;
}
public void setRCode(String rCode) {
this.rCode = rCode;
}
public TssV2TransactionsGet200ResponseApplicationInformation rFlag(String rFlag) {
this.rFlag = rFlag;
return this;
}
/**
* One-word description of the result of the application.
* @return rFlag
**/
@ApiModelProperty(value = "One-word description of the result of the application. ")
public String getRFlag() {
return rFlag;
}
public void setRFlag(String rFlag) {
this.rFlag = rFlag;
}
public TssV2TransactionsGet200ResponseApplicationInformation applications(List applications) {
this.applications = applications;
return this;
}
public TssV2TransactionsGet200ResponseApplicationInformation addApplicationsItem(TssV2TransactionsGet200ResponseApplicationInformationApplications applicationsItem) {
if (this.applications == null) {
this.applications = new ArrayList();
}
this.applications.add(applicationsItem);
return this;
}
/**
* Get applications
* @return applications
**/
@ApiModelProperty(value = "")
public List getApplications() {
return applications;
}
public void setApplications(List applications) {
this.applications = applications;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TssV2TransactionsGet200ResponseApplicationInformation tssV2TransactionsGet200ResponseApplicationInformation = (TssV2TransactionsGet200ResponseApplicationInformation) o;
return Objects.equals(this.status, tssV2TransactionsGet200ResponseApplicationInformation.status) &&
Objects.equals(this.reasonCode, tssV2TransactionsGet200ResponseApplicationInformation.reasonCode) &&
Objects.equals(this.rCode, tssV2TransactionsGet200ResponseApplicationInformation.rCode) &&
Objects.equals(this.rFlag, tssV2TransactionsGet200ResponseApplicationInformation.rFlag) &&
Objects.equals(this.applications, tssV2TransactionsGet200ResponseApplicationInformation.applications);
}
@Override
public int hashCode() {
return Objects.hash(status, reasonCode, rCode, rFlag, applications);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TssV2TransactionsGet200ResponseApplicationInformation {\n");
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
if (reasonCode != null) sb.append(" reasonCode: ").append(toIndentedString(reasonCode)).append("\n");
if (rCode != null) sb.append(" rCode: ").append(toIndentedString(rCode)).append("\n");
if (rFlag != null) sb.append(" rFlag: ").append(toIndentedString(rFlag)).append("\n");
if (applications != null) sb.append(" applications: ").append(toIndentedString(applications)).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