Model.PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing 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;
/**
* PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing
*/
public class PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing {
@SerializedName("count")
private Integer count = null;
@SerializedName("fieldName")
private String fieldName = null;
@SerializedName("informationCode")
private String informationCode = null;
public PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing count(Integer count) {
this.count = count;
return this;
}
/**
* Morphing count specified by the number #. **Note** The count is not returned for the initial transaction.
* @return count
**/
@ApiModelProperty(value = "Morphing count specified by the number #. **Note** The count is not returned for the initial transaction. ")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing fieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
/**
* Field name of the morphing element. specified by the setting that you chose in the Velocity Editor. For all possible values, see the `decisionReply_morphingElement_#_fieldName` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
* @return fieldName
**/
@ApiModelProperty(value = "Field name of the morphing element. specified by the setting that you chose in the Velocity Editor. For all possible values, see the `decisionReply_morphingElement_#_fieldName` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link). ")
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing informationCode(String informationCode) {
this.informationCode = informationCode;
return this;
}
/**
* Identifier that CyberSource assigned to the velocity rule specified by the number #. For all possible values, see the `decision_velocity_morphing_#_info_code` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** >
* @return informationCode
**/
@ApiModelProperty(value = "Identifier that CyberSource assigned to the velocity rule specified by the number #. For all possible values, see the `decision_velocity_morphing_#_info_code` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > ")
public String getInformationCode() {
return informationCode;
}
public void setInformationCode(String informationCode) {
this.informationCode = informationCode;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing ptsV2PaymentsPost201ResponseRiskInformationVelocityMorphing = (PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing) o;
return Objects.equals(this.count, ptsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.count) &&
Objects.equals(this.fieldName, ptsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.fieldName) &&
Objects.equals(this.informationCode, ptsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.informationCode);
}
@Override
public int hashCode() {
return Objects.hash(count, fieldName, informationCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing {\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n");
sb.append(" informationCode: ").append(toIndentedString(informationCode)).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