Created
August 7, 2018 11:34
-
-
Save drulabs/7cf2e362e196e9f4a66585088b019f6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bank bank = .... ; | |
List<Customer> customers = bank.getCustomers(); // Get all bank customers | |
List<Transaction> = customer.getTransactions(); // Get all transactions by 1 customer | |
double amount = transaction.getAmount(); // Get transaction amount | |
String transactionType = transaction.getType(); // Get type of transaction (deposit or withdraw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment