Package org.openbankdata.core.service

Examples of org.openbankdata.core.service.DefaultBankingService


    return new Bank("AmericanExpress", new Locale("sv", "SE"));
  }

  @Override
  public BankingService createBankingService() {
    DefaultBankingService banking = new DefaultBankingService();

    AmericanExpressBankClient bankClient = new AmericanExpressBankClient();
    banking.setBankClient(bankClient);
    banking.setAccountService(new AmericanExpressAccountService(bankClient));
    banking.setTransactionService(new AmericanExpressTransactionService(bankClient));
    return banking;
  }
View Full Code Here


    return new Bank("SveaDirekt", new Locale("sv", "SE"));
  }

  @Override
  public BankingService createBankingService() {
    DefaultBankingService banking = new DefaultBankingService();

    SveaDirektBankClient bankClient = new SveaDirektBankClient();
    banking.setBankClient(bankClient);

    SveaDirektTransactionService transactionService = new SveaDirektTransactionService(bankClient);
    banking.setTransactionService(transactionService);

    SveaDirektAccountService accountService =
        new SveaDirektAccountService(bankClient, transactionService);
    banking.setAccountService(accountService);
    return banking;
  }
View Full Code Here

TOP

Related Classes of org.openbankdata.core.service.DefaultBankingService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.