All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.moip.resource.TransferInstrument Maven / Gradle / Ivy

There is a newer version: 4.7.6
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy