com.sentenial.rest.client.api.common.dto.BasicAccount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nuapay-rest-client Show documentation
Show all versions of nuapay-rest-client Show documentation
NuaPay REST API Java Bindings
package com.sentenial.rest.client.api.common.dto;
public class BasicAccount {
private String iban;
private String bic;
private String domesticAccountNumber;
private String domesticBranchCode;
private String domesticBankCode;
private String domesticCheckSum;
private String accountCountry;
public BasicAccount withIban(String iban) {
this.iban = iban;
return this;
}
public BasicAccount withBic(String bic) {
this.bic = bic;
return this;
}
public BasicAccount withDomesticAccountNumber(String domesticAccountNumber) {
this.domesticAccountNumber = domesticAccountNumber;
return this;
}
public BasicAccount withDomesticBranchCode(String domesticBranchCode) {
this.domesticBranchCode = domesticBranchCode;
return this;
}
public BasicAccount withDomesticCheckSum(String domesticCheckSum) {
this.domesticCheckSum = domesticCheckSum;
return this;
}
public BasicAccount withDomesticBankCode(String domesticBankCode) {
this.domesticBankCode = domesticBankCode;
return this;
}
public BasicAccount withAccountCountry(String accountCountry) {
this.accountCountry = accountCountry;
return this;
}
public String getIban() {
return iban;
}
public void setIban(String iban) {
this.iban = iban;
}
public String getBic() {
return bic;
}
public void setBic(String bic) {
this.bic = bic;
}
public String getDomesticAccountNumber() {
return domesticAccountNumber;
}
public void setDomesticAccountNumber(String domesticAccountNumber) {
this.domesticAccountNumber = domesticAccountNumber;
}
public String getDomesticBranchCode() {
return domesticBranchCode;
}
public void setDomesticBranchCode(String domesticBranchCode) {
this.domesticBranchCode = domesticBranchCode;
}
public String getAccountCountry() {
return accountCountry;
}
public void setAccountCountry(String accountCountry) {
this.accountCountry = accountCountry;
}
public String getDomesticBankCode() {
return domesticBankCode;
}
public void setDomesticBankCode(String domesticBankCode) {
this.domesticBankCode = domesticBankCode;
}
public String getDomesticCheckSum() {
return domesticCheckSum;
}
public void setDomesticCheckSum(String domesticCheckSum) {
this.domesticCheckSum = domesticCheckSum;
}
@Override
public String toString() {
return "BasicAccount [iban=" + iban + ", bic=" + bic + ", domesticAccountNumber=" + domesticAccountNumber + ", domesticBranchCode=" + domesticBranchCode + ", domesticBankCode="
+ domesticBankCode + ", domesticCheckSum=" + domesticCheckSum + ", accountCountry=" + accountCountry + "]";
}
}