
Model.TssV2TransactionsGet200ResponseRiskInformationRules 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 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;
/**
* Names of one or more rules that were processed, and the decisions made by the rules.
*/
@ApiModel(description = "Names of one or more rules that were processed, and the decisions made by the rules.")
public class TssV2TransactionsGet200ResponseRiskInformationRules {
@SerializedName("name")
private String name = null;
@SerializedName("decision")
private String decision = null;
public TssV2TransactionsGet200ResponseRiskInformationRules name(String name) {
this.name = name;
return this;
}
/**
* Description of the rule as it appears in the Profile Editor.
* @return name
**/
@ApiModelProperty(value = "Description of the rule as it appears in the Profile Editor.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public TssV2TransactionsGet200ResponseRiskInformationRules decision(String decision) {
this.decision = decision;
return this;
}
/**
* Summarizes the result for the rule according to the setting that you chose in the Profile Editor. This field can contain one of the following values: - `IGNORE` - `REVIEW` - `REJECT` - `ACCEPT`
* @return decision
**/
@ApiModelProperty(value = "Summarizes the result for the rule according to the setting that you chose in the Profile Editor. This field can contain one of the following values: - `IGNORE` - `REVIEW` - `REJECT` - `ACCEPT` ")
public String getDecision() {
return decision;
}
public void setDecision(String decision) {
this.decision = decision;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TssV2TransactionsGet200ResponseRiskInformationRules tssV2TransactionsGet200ResponseRiskInformationRules = (TssV2TransactionsGet200ResponseRiskInformationRules) o;
return Objects.equals(this.name, tssV2TransactionsGet200ResponseRiskInformationRules.name) &&
Objects.equals(this.decision, tssV2TransactionsGet200ResponseRiskInformationRules.decision);
}
@Override
public int hashCode() {
return Objects.hash(name, decision);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TssV2TransactionsGet200ResponseRiskInformationRules {\n");
if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n");
if (decision != null) sb.append(" decision: ").append(toIndentedString(decision)).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