Пример #1
0
 public List<Payment> getPaymentsByRentalPaymentId(int rentalPaymentId) {
   return paymentRepository.findByRentalPaymentId(rentalPaymentId);
 }
Пример #2
0
 public List<Payment> getPayments() {
   return paymentRepository.findAll();
 }