
Model.Ptsv2paymentsPaymentInformationSepaDirectDebit 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;
/**
* Ptsv2paymentsPaymentInformationSepaDirectDebit
*/
public class Ptsv2paymentsPaymentInformationSepaDirectDebit {
@SerializedName("reference")
private String reference = null;
@SerializedName("signatureDate")
private String signatureDate = null;
@SerializedName("url")
private String url = null;
@SerializedName("type")
private String type = null;
public Ptsv2paymentsPaymentInformationSepaDirectDebit reference(String reference) {
this.reference = reference;
return this;
}
/**
* Mandate reference as returned on the first transaction in the sequence
* @return reference
**/
@ApiModelProperty(value = "Mandate reference as returned on the first transaction in the sequence ")
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public Ptsv2paymentsPaymentInformationSepaDirectDebit signatureDate(String signatureDate) {
this.signatureDate = signatureDate;
return this;
}
/**
* Date of the initial transaction, format is YYYY-MM-DD. Date can be taken from the finaltimestamp of the SUCCEEDED notification for the first transaction in the sequence.
* @return signatureDate
**/
@ApiModelProperty(value = "Date of the initial transaction, format is YYYY-MM-DD. Date can be taken from the finaltimestamp of the SUCCEEDED notification for the first transaction in the sequence. ")
public String getSignatureDate() {
return signatureDate;
}
public void setSignatureDate(String signatureDate) {
this.signatureDate = signatureDate;
}
public Ptsv2paymentsPaymentInformationSepaDirectDebit url(String url) {
this.url = url;
return this;
}
/**
* Valid URL pointing to the SEPA mandate, needs to be accessible by our risk and compliance department.
* @return url
**/
@ApiModelProperty(value = "Valid URL pointing to the SEPA mandate, needs to be accessible by our risk and compliance department. ")
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Ptsv2paymentsPaymentInformationSepaDirectDebit type(String type) {
this.type = type;
return this;
}
/**
* Sequence type of the direct debit, defaults to \"oneOff\". Valid values: oneOff The direct debit is executed once. first First direct debit in a series of recurring ones.
* @return type
**/
@ApiModelProperty(value = "Sequence type of the direct debit, defaults to \"oneOff\". Valid values: oneOff The direct debit is executed once. first First direct debit in a series of recurring ones. ")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsPaymentInformationSepaDirectDebit ptsv2paymentsPaymentInformationSepaDirectDebit = (Ptsv2paymentsPaymentInformationSepaDirectDebit) o;
return Objects.equals(this.reference, ptsv2paymentsPaymentInformationSepaDirectDebit.reference) &&
Objects.equals(this.signatureDate, ptsv2paymentsPaymentInformationSepaDirectDebit.signatureDate) &&
Objects.equals(this.url, ptsv2paymentsPaymentInformationSepaDirectDebit.url) &&
Objects.equals(this.type, ptsv2paymentsPaymentInformationSepaDirectDebit.type);
}
@Override
public int hashCode() {
return Objects.hash(reference, signatureDate, url, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsPaymentInformationSepaDirectDebit {\n");
if (reference != null) sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
if (signatureDate != null) sb.append(" signatureDate: ").append(toIndentedString(signatureDate)).append("\n");
if (url != null) sb.append(" url: ").append(toIndentedString(url)).append("\n");
if (type != null) sb.append(" type: ").append(toIndentedString(type)).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