
Model.Ptsv2paymentsMerchantDefinedSecureInformation 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;
/**
* The object containing the secure data that the merchant defines.
*/
@ApiModel(description = "The object containing the secure data that the merchant defines. ")
public class Ptsv2paymentsMerchantDefinedSecureInformation {
@SerializedName("secure1")
private String secure1 = null;
@SerializedName("secure2")
private String secure2 = null;
@SerializedName("secure3")
private String secure3 = null;
@SerializedName("secure4")
private String secure4 = null;
public Ptsv2paymentsMerchantDefinedSecureInformation secure1(String secure1) {
this.secure1 = secure1;
return this;
}
/**
* The value you assign for your merchant-secure data field 1.
* @return secure1
**/
@ApiModelProperty(value = "The value you assign for your merchant-secure data field 1. ")
public String getSecure1() {
return secure1;
}
public void setSecure1(String secure1) {
this.secure1 = secure1;
}
public Ptsv2paymentsMerchantDefinedSecureInformation secure2(String secure2) {
this.secure2 = secure2;
return this;
}
/**
* The value you assign for your merchant-secure data field 2.
* @return secure2
**/
@ApiModelProperty(value = "The value you assign for your merchant-secure data field 2. ")
public String getSecure2() {
return secure2;
}
public void setSecure2(String secure2) {
this.secure2 = secure2;
}
public Ptsv2paymentsMerchantDefinedSecureInformation secure3(String secure3) {
this.secure3 = secure3;
return this;
}
/**
* The value you assign for your merchant-secure data field 3.
* @return secure3
**/
@ApiModelProperty(value = "The value you assign for your merchant-secure data field 3. ")
public String getSecure3() {
return secure3;
}
public void setSecure3(String secure3) {
this.secure3 = secure3;
}
public Ptsv2paymentsMerchantDefinedSecureInformation secure4(String secure4) {
this.secure4 = secure4;
return this;
}
/**
* The value you assign for your merchant-secure data field 4.
* @return secure4
**/
@ApiModelProperty(value = "The value you assign for your merchant-secure data field 4. ")
public String getSecure4() {
return secure4;
}
public void setSecure4(String secure4) {
this.secure4 = secure4;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsMerchantDefinedSecureInformation ptsv2paymentsMerchantDefinedSecureInformation = (Ptsv2paymentsMerchantDefinedSecureInformation) o;
return Objects.equals(this.secure1, ptsv2paymentsMerchantDefinedSecureInformation.secure1) &&
Objects.equals(this.secure2, ptsv2paymentsMerchantDefinedSecureInformation.secure2) &&
Objects.equals(this.secure3, ptsv2paymentsMerchantDefinedSecureInformation.secure3) &&
Objects.equals(this.secure4, ptsv2paymentsMerchantDefinedSecureInformation.secure4);
}
@Override
public int hashCode() {
return Objects.hash(secure1, secure2, secure3, secure4);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsMerchantDefinedSecureInformation {\n");
if (secure1 != null) sb.append(" secure1: ").append(toIndentedString(secure1)).append("\n");
if (secure2 != null) sb.append(" secure2: ").append(toIndentedString(secure2)).append("\n");
if (secure3 != null) sb.append(" secure3: ").append(toIndentedString(secure3)).append("\n");
if (secure4 != null) sb.append(" secure4: ").append(toIndentedString(secure4)).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