Capital One Interview Question

Create a method that would be able to store bank transactions