com.docusign.esign.model.DirectDebitProcessorInformation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official Docusign eSignature JAVA client is based on version 2.1 of the Docusign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* DirectDebitProcessorInformation.
*
*/
public class DirectDebitProcessorInformation {
@JsonProperty("bankBranchCode")
private String bankBranchCode = null;
@JsonProperty("bankCheckDigit")
private String bankCheckDigit = null;
@JsonProperty("bankCode")
private String bankCode = null;
@JsonProperty("bankName")
private String bankName = null;
@JsonProperty("bankTransferAccountName")
private String bankTransferAccountName = null;
@JsonProperty("bankTransferAccountNumber")
private String bankTransferAccountNumber = null;
@JsonProperty("bankTransferType")
private String bankTransferType = null;
@JsonProperty("country")
private String country = null;
@JsonProperty("email")
private String email = null;
@JsonProperty("firstName")
private String firstName = null;
@JsonProperty("iBAN")
private String iBAN = null;
@JsonProperty("lastName")
private String lastName = null;
/**
* bankBranchCode.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankBranchCode(String bankBranchCode) {
this.bankBranchCode = bankBranchCode;
return this;
}
/**
* .
* @return bankBranchCode
**/
@ApiModelProperty(value = "")
public String getBankBranchCode() {
return bankBranchCode;
}
/**
* setBankBranchCode.
**/
public void setBankBranchCode(String bankBranchCode) {
this.bankBranchCode = bankBranchCode;
}
/**
* bankCheckDigit.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankCheckDigit(String bankCheckDigit) {
this.bankCheckDigit = bankCheckDigit;
return this;
}
/**
* .
* @return bankCheckDigit
**/
@ApiModelProperty(value = "")
public String getBankCheckDigit() {
return bankCheckDigit;
}
/**
* setBankCheckDigit.
**/
public void setBankCheckDigit(String bankCheckDigit) {
this.bankCheckDigit = bankCheckDigit;
}
/**
* bankCode.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankCode(String bankCode) {
this.bankCode = bankCode;
return this;
}
/**
* .
* @return bankCode
**/
@ApiModelProperty(value = "")
public String getBankCode() {
return bankCode;
}
/**
* setBankCode.
**/
public void setBankCode(String bankCode) {
this.bankCode = bankCode;
}
/**
* bankName.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankName(String bankName) {
this.bankName = bankName;
return this;
}
/**
* .
* @return bankName
**/
@ApiModelProperty(value = "")
public String getBankName() {
return bankName;
}
/**
* setBankName.
**/
public void setBankName(String bankName) {
this.bankName = bankName;
}
/**
* bankTransferAccountName.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankTransferAccountName(String bankTransferAccountName) {
this.bankTransferAccountName = bankTransferAccountName;
return this;
}
/**
* .
* @return bankTransferAccountName
**/
@ApiModelProperty(value = "")
public String getBankTransferAccountName() {
return bankTransferAccountName;
}
/**
* setBankTransferAccountName.
**/
public void setBankTransferAccountName(String bankTransferAccountName) {
this.bankTransferAccountName = bankTransferAccountName;
}
/**
* bankTransferAccountNumber.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankTransferAccountNumber(String bankTransferAccountNumber) {
this.bankTransferAccountNumber = bankTransferAccountNumber;
return this;
}
/**
* .
* @return bankTransferAccountNumber
**/
@ApiModelProperty(value = "")
public String getBankTransferAccountNumber() {
return bankTransferAccountNumber;
}
/**
* setBankTransferAccountNumber.
**/
public void setBankTransferAccountNumber(String bankTransferAccountNumber) {
this.bankTransferAccountNumber = bankTransferAccountNumber;
}
/**
* bankTransferType.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation bankTransferType(String bankTransferType) {
this.bankTransferType = bankTransferType;
return this;
}
/**
* .
* @return bankTransferType
**/
@ApiModelProperty(value = "")
public String getBankTransferType() {
return bankTransferType;
}
/**
* setBankTransferType.
**/
public void setBankTransferType(String bankTransferType) {
this.bankTransferType = bankTransferType;
}
/**
* country.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation country(String country) {
this.country = country;
return this;
}
/**
* Specifies the country associated with the address..
* @return country
**/
@ApiModelProperty(value = "Specifies the country associated with the address.")
public String getCountry() {
return country;
}
/**
* setCountry.
**/
public void setCountry(String country) {
this.country = country;
}
/**
* email.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation email(String email) {
this.email = email;
return this;
}
/**
* .
* @return email
**/
@ApiModelProperty(value = "")
public String getEmail() {
return email;
}
/**
* setEmail.
**/
public void setEmail(String email) {
this.email = email;
}
/**
* firstName.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation firstName(String firstName) {
this.firstName = firstName;
return this;
}
/**
* The user's first name. Maximum Length: 50 characters..
* @return firstName
**/
@ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.")
public String getFirstName() {
return firstName;
}
/**
* setFirstName.
**/
public void setFirstName(String firstName) {
this.firstName = firstName;
}
/**
* iBAN.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation iBAN(String iBAN) {
this.iBAN = iBAN;
return this;
}
/**
* .
* @return iBAN
**/
@ApiModelProperty(value = "")
public String getIBAN() {
return iBAN;
}
/**
* setIBAN.
**/
public void setIBAN(String iBAN) {
this.iBAN = iBAN;
}
/**
* lastName.
*
* @return DirectDebitProcessorInformation
**/
public DirectDebitProcessorInformation lastName(String lastName) {
this.lastName = lastName;
return this;
}
/**
* .
* @return lastName
**/
@ApiModelProperty(value = "")
public String getLastName() {
return lastName;
}
/**
* setLastName.
**/
public void setLastName(String lastName) {
this.lastName = lastName;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DirectDebitProcessorInformation directDebitProcessorInformation = (DirectDebitProcessorInformation) o;
return Objects.equals(this.bankBranchCode, directDebitProcessorInformation.bankBranchCode) &&
Objects.equals(this.bankCheckDigit, directDebitProcessorInformation.bankCheckDigit) &&
Objects.equals(this.bankCode, directDebitProcessorInformation.bankCode) &&
Objects.equals(this.bankName, directDebitProcessorInformation.bankName) &&
Objects.equals(this.bankTransferAccountName, directDebitProcessorInformation.bankTransferAccountName) &&
Objects.equals(this.bankTransferAccountNumber, directDebitProcessorInformation.bankTransferAccountNumber) &&
Objects.equals(this.bankTransferType, directDebitProcessorInformation.bankTransferType) &&
Objects.equals(this.country, directDebitProcessorInformation.country) &&
Objects.equals(this.email, directDebitProcessorInformation.email) &&
Objects.equals(this.firstName, directDebitProcessorInformation.firstName) &&
Objects.equals(this.iBAN, directDebitProcessorInformation.iBAN) &&
Objects.equals(this.lastName, directDebitProcessorInformation.lastName);
}
/**
* Returns the HashCode.
*/
@Override
public int hashCode() {
return Objects.hash(bankBranchCode, bankCheckDigit, bankCode, bankName, bankTransferAccountName, bankTransferAccountNumber, bankTransferType, country, email, firstName, iBAN, lastName);
}
/**
* Converts the given object to string.
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DirectDebitProcessorInformation {\n");
sb.append(" bankBranchCode: ").append(toIndentedString(bankBranchCode)).append("\n");
sb.append(" bankCheckDigit: ").append(toIndentedString(bankCheckDigit)).append("\n");
sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n");
sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
sb.append(" bankTransferAccountName: ").append(toIndentedString(bankTransferAccountName)).append("\n");
sb.append(" bankTransferAccountNumber: ").append(toIndentedString(bankTransferAccountNumber)).append("\n");
sb.append(" bankTransferType: ").append(toIndentedString(bankTransferType)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n");
sb.append(" iBAN: ").append(toIndentedString(iBAN)).append("\n");
sb.append(" lastName: ").append(toIndentedString(lastName)).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 ");
}
}