public String getBeneficiary() { String beneficiary = null; if (user_my_card_sbtn.isChecked()) { Object current = mIbanCardManager.getCurrentItem(); if (current != null) { beneficiary = ((AccountsModel) current).getCardHolder(); } } else { beneficiary = beneficiary_name_et.getText().toString(); } return beneficiary; }
public String getCardNumber() { String result = null; if (user_my_card_sbtn.isChecked()) { Object current = mIbanCardManager.getCurrentItem(); if (current != null) { result = ((AccountsModel) current).getCardNumber(); if (result != null && result.length() > 4) { result = result.substring(result.length() - 4); } } } else { result = iban_et.getText().toString(); } return result; }
public void onDisable(int accountPos) { mIbanCardManager.onDisable(accountPos); }
public void setAccounts(List<AccountsModel> accounts) { mIbanCardManager.setAccounts(accounts); }