예제 #1
0
 public List<Payment> getPaymentsByRentalPaymentId(int rentalPaymentId) {
   return paymentRepository.findByRentalPaymentId(rentalPaymentId);
 }
예제 #2
0
 public List<Payment> getPayments() {
   return paymentRepository.findAll();
 }