Uses of Class
springboot.bg.harisauto.invoice.model.Invoice
Packages that use Invoice
Package
Description
-
Uses of Invoice in springboot.bg.harisauto.invoice.repository
Methods in springboot.bg.harisauto.invoice.repository that return types with arguments of type InvoiceModifier and TypeMethodDescriptionInvoiceRepository.findAllByUserIdOrderByIssuedAtDesc(UUID userId) -
Uses of Invoice in springboot.bg.harisauto.invoice.service
Methods in springboot.bg.harisauto.invoice.service that return InvoiceModifier and TypeMethodDescriptionInvoiceService.generate(User user, Vehicle vehicle, List<CarService> services, LocalDateTime serviceDate, String paymentMethod, InvoiceStatus status, String paymentReference, UUID bookingId) Generate and persist an invoice for a completed booking.InvoiceService.getForUser(UUID invoiceId, UUID userId) Look up an invoice by id and verify the requester owns it.Methods in springboot.bg.harisauto.invoice.service that return types with arguments of type InvoiceModifier and TypeMethodDescriptionInvoiceService.listForUser(UUID userId) Returns all invoices for the given user, newest first.Methods in springboot.bg.harisauto.invoice.service with parameters of type Invoice -
Uses of Invoice in springboot.bg.harisauto.payment.service
Methods in springboot.bg.harisauto.payment.service that return InvoiceModifier and TypeMethodDescriptionCheckoutService.completeBooking(PendingBookingSessionRequest pending, InvoiceStatus status, String paymentReference) Creates the booking and its invoice for a pending checkout.CheckoutService.completePaidBooking(PendingBookingSessionRequest pending) Creates the booking and a PAID invoice.