br.com.moip.resource.TransferInstrument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Moip v2 APIs
package br.com.moip.resource;
public class TransferInstrument {
private Method method;
private BankAccount bankAccount;
private MoipAccount moipAccount;
public Method getMethod() {
return method;
}
public void setMethod(Method method) {
this.method = method;
}
public BankAccount getBankAccount() {
return bankAccount;
}
public void setBankAccount(BankAccount bankAccount) {
this.bankAccount = bankAccount;
}
public MoipAccount getMoipAccount() {
return moipAccount;
}
public void setMoipAccount(MoipAccount moipAccount) {
this.moipAccount = moipAccount;
}
@Override
public String toString() {
return new StringBuilder("TransferInstrument{")
.append("method=").append(method)
.append(", bankAccount=").append(bankAccount)
.append(", moipAccount=").append(moipAccount)
.append('}').toString();
}
public enum Method {
BANK_ACCOUNT, MOIP_ACCOUNT;
}
}