E anche oggi si dorme domani. Solved #2 & #4 MI PARE EH POI BOH C'HO SONNO

This commit is contained in:
Francesco Rinaldi 2017-01-12 01:53:25 +01:00
parent 459aa638b1
commit a77b4d964b
2 changed files with 553 additions and 1110 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2338,7 +2338,7 @@ A
\family typewriter
Credentials
\family default
instance but with a wrong combination of
instance with a wrong combination of
\shape italic
username
\shape default
@ -2868,7 +2868,7 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function removes some privileges from the
This function removes some of the privileges from the
\family typewriter
User
\family default
@ -3301,11 +3301,11 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function returns all the
This function allows a registered
\family typewriter
User
\family default
requests.
to consult his complete requests history.
\end_layout
\end_inset
@ -4886,7 +4886,7 @@ Status
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\begin_inset VSpace smallskip
\end_inset
Main functions implemented by the
@ -4896,14 +4896,6 @@ Car Manager
:
\end_layout
\begin_layout Standard
\align center
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
@ -5695,7 +5687,8 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function return a list of
This function will retrieve the needed information through the Car Manager
and it will return a list of
\shape italic
available
\shape default
@ -6305,11 +6298,16 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function return a list of
This function will retrieve the needed information through the Car Manager
and it will return a list of
\shape italic
reservable
\shape default
cars near the user's Location.
cars near the user's
\family typewriter
Location
\family default
.
\end_layout
\end_inset
@ -6504,7 +6502,11 @@ Car
\family typewriter
User
\family default
instances passed as argument.
instances passed as argument, and notifies it to the
\family typewriter
User
\family default
through the Notification Manager.
\end_layout
\end_inset
@ -6691,7 +6693,11 @@ This function retrieves all the information about the
\family typewriter
Reservation
\family default
instance passed as argument.
instance passed as argument, and shows them to the
\family typewriter
User
\family default
through the Notification Manager.
\end_layout
\end_inset
@ -6874,7 +6880,8 @@ This function terminates the current
\family typewriter
Reservation
\family default
.
, notifies it to the user through the Notification Manager and sends a payment
request to the Payment Manager.
\end_layout
\end_inset
@ -7065,7 +7072,11 @@ Rent
\family typewriter
Reservation
\family default
instance passed as argument.
instance passed as argument, and notifies it to the
\family typewriter
User
\family default
through the Notification Manager.
\end_layout
\end_inset
@ -7248,7 +7259,11 @@ This function retrieves all the information about the
\family typewriter
Rent
\family default
instance passed as argument.
instance passed as argument, and shows them to the
\family typewriter
User
\family default
through the Notification Manager.
\end_layout
\end_inset
@ -7427,11 +7442,21 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function will check if all the conditions to end the
This function will check through the Car Manager if all the conditions to
end the
\family typewriter
Rent
\family default
are respected (for example if nobody is still in the car, and so on..)..
are respected (for example if nobody is still in the car, and so on..) and
it will return
\family typewriter
true
\family default
if the rent is terminable,
\family typewriter
false
\family default
otherwise.
\end_layout
\end_inset
@ -7618,7 +7643,8 @@ This function terminates the current
\family typewriter
Rent
\family default
.
, notifies it to the user through the Notification Manager and sends a payment
request to the Payment Manager.
\end_layout
\end_inset
@ -7810,7 +7836,7 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function notifies a message to the user.
This function is used to notify a message to the user.
\end_layout
\end_inset
@ -7946,10 +7972,6 @@ Main functions implemented by the
Payment Manager
\series default
:
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
@ -7997,20 +8019,14 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function will apply the fees for each
This function applies the fees for a
\family typewriter
Reservation
\family default
instance.
Actually, the user can terminate a reservation for free, but in the future
if PowerEnjoy would decide to apply a fee for the termination of a reservation,
it would be very easy to modify this value.
If the user picks up the car, his reservation terminates and the system
will create another instance
\family typewriter
Rent
\family default
: no fees will be applied to transform a reservation into a rent.
Now the user can terminate a reservation for free, but in the future if
PowerEnjoy would decide to apply a fee for the termination of a reservation,
it would be easy to modify this value.
\end_layout
\end_inset
@ -8110,7 +8126,7 @@ Reservation
\begin_inset Text
\begin_layout Plain Layout
A payment request to an external service is successfully sent for the
A payment request to an external service is sent for the
\family typewriter
User
\family default
@ -8139,13 +8155,6 @@ Reservation
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
@ -8193,15 +8202,12 @@ Description
\begin_inset Text
\begin_layout Plain Layout
This function will calculate the fees for each
This function calculates the fees for a
\family typewriter
Rent
\family default
instance.
In this case we have to consider eventual discounts and other additional
fees before sending the payment request to the external payment service.
It would not be difficult in the future to change some parameters according
to the PowerEnjoy policy.
instance taking in account eventual discounts and other additional fees
before sending the payment request.
\end_layout
\end_inset
@ -8334,13 +8340,6 @@ Rent
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
@ -8517,13 +8516,6 @@ Rent
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard