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

me.figo.models.Bank Maven / Gradle / Ivy

Go to download

This SDK eases the development of Java applications and web services consuming the figo connect API. Figo connect allows developers simple access to users bank data on a trustworthy basis. Users can grant your application access to certain parts of their bank accounts and you can access them without worrying about the inner workings of online banking.

There is a newer version: 4.0.16
Show newest version
package me.figo.models;

import com.google.gson.annotations.Expose;

/**
 * Object representing a Bank
 * 
 * @author Stefan Richter
 */
public class Bank {
    /**
     * Internal ID of the bank
     */
    @Expose(serialize = false)
    private String bank_id;

    /**
     * SEPA direct debit creditor ID
     */
    @Expose
    private String sepa_creditor_id;

    /**
     * Bank code
     */
    @Expose
    private String bank_code;

    /**
     * This flag indicates whether the user has chosen to save the PIN on the figo Connect server
     */
    @Expose(serialize = false)
    private boolean save_pin;

    public Bank() {
    }

    /**
     * @return the internal ID of the bank
     */
    public String getBankId() {
        return bank_id;
    }

    /**
     * @return the SEPA direct debit creditor ID
     */
    public String getSepaCreditorId() {
        return sepa_creditor_id;
    }

    /**
     * @param sepa_creditor_id
     *            the SEPA direct debit creditor ID to set
     */
    public void setSepaCreditorId(String sepa_creditor_id) {
        this.sepa_creditor_id = sepa_creditor_id;
    }

    /**
     * @return whether the user has chosen to save the PIN on the figo Connect server
     */
    public boolean isPinSaved() {
        return save_pin;
    }

    public String getBankNumber()   {
        return this.bank_code;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy