Last change
on this file was 364f27d, checked in by MetodiMladenovski <meto.18@…>, 16 months ago |
added projects and db scripts
|
-
Property mode
set to
100644
|
File size:
457 bytes
|
Rev | Line | |
---|
[364f27d] | 1 | package com.example.uber.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.uber.model.Drive;
|
---|
| 4 | import com.example.uber.model.Passenger;
|
---|
| 5 | import com.example.uber.model.response.PaymentResponse;
|
---|
| 6 |
|
---|
| 7 | import java.util.List;
|
---|
| 8 | import java.util.UUID;
|
---|
| 9 |
|
---|
| 10 | public interface PaymentService {
|
---|
| 11 | PaymentResponse addPayment(Drive drive, Passenger passenger, float totalSumPayed);
|
---|
| 12 |
|
---|
| 13 | List<PaymentResponse> getAllPayment();
|
---|
| 14 |
|
---|
| 15 | Boolean addDriverTipForPayment(UUID paymentId, float driverTipSum);
|
---|
| 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.