예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public void onDisable(int accountPos) {
   mIbanCardManager.onDisable(accountPos);
 }
예제 #4
0
 public void setAccounts(List<AccountsModel> accounts) {
   mIbanCardManager.setAccounts(accounts);
 }