openMF / mobile-wallet

A reference implementation of Mifos platform wallet and payment capabilities
https://openmf.github.io/mobileapps.github.io/
225 stars 426 forks source link

Fetching linked bank accounts #364

Closed nikhil-sachdeva closed 4 years ago

nikhil-sachdeva commented 5 years ago

Summary:

Currently, a static bank account detail list is added in the Linked Bank Accounts Screen.

    @Override
    public void fetchLinkedBankAccounts() {
        // TODO:: fetch linked bank accounts

        List<BankAccountDetails> bankAccountDetailsList = new ArrayList<>();
        bankAccountDetailsList.add(new BankAccountDetails("SBI", "Ankur Sharma", "New Delhi",
                mRandom.nextInt() + " ", "Savings"));
        mBankAccountsView.showLinkedBankAccounts(bankAccountDetailsList);
    }

Steps to reproduce:

mifospay->java->bank->presenter->BankAccountPresenter.java

Expected behavior:

I believe an API call should be made to retrieve the list of linked bank accounts, I haven't studied the Fineract API, hence would like to know if a suitable call can be made.

Observed behavior:

A static list is observed

Device and Android version:

Redmi Note 3

luckyman20 commented 4 years ago

@nikhil-sachdeva API is not available for this right now, hence, it is working like this.