When I wrote this, I added a `public static List<Payment> fromDb(List<PaymentEntity> dbPayments)` in the `Payment` class.