This commit is contained in:
parent
459aa638b1
commit
a77b4d964b
File diff suppressed because it is too large
Load Diff
@ -2338,7 +2338,7 @@ A
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
Credentials
|
Credentials
|
||||||
\family default
|
\family default
|
||||||
instance but with a wrong combination of
|
instance with a wrong combination of
|
||||||
\shape italic
|
\shape italic
|
||||||
username
|
username
|
||||||
\shape default
|
\shape default
|
||||||
@ -2868,7 +2868,7 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
This function removes some privileges from the
|
This function removes some of the privileges from the
|
||||||
\family typewriter
|
\family typewriter
|
||||||
User
|
User
|
||||||
\family default
|
\family default
|
||||||
@ -3301,11 +3301,11 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
This function returns all the
|
This function allows a registered
|
||||||
\family typewriter
|
\family typewriter
|
||||||
User
|
User
|
||||||
\family default
|
\family default
|
||||||
requests.
|
to consult his complete requests history.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -4886,7 +4886,7 @@ Status
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
\begin_inset VSpace bigskip
|
\begin_inset VSpace smallskip
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
Main functions implemented by the
|
Main functions implemented by the
|
||||||
@ -4896,14 +4896,6 @@ Car Manager
|
|||||||
:
|
:
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
\align center
|
|
||||||
\begin_inset VSpace smallskip
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
\align center
|
\align center
|
||||||
\begin_inset Tabular
|
\begin_inset Tabular
|
||||||
@ -5695,7 +5687,8 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\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
|
\shape italic
|
||||||
available
|
available
|
||||||
\shape default
|
\shape default
|
||||||
@ -6305,11 +6298,16 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\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
|
\shape italic
|
||||||
reservable
|
reservable
|
||||||
\shape default
|
\shape default
|
||||||
cars near the user's Location.
|
cars near the user's
|
||||||
|
\family typewriter
|
||||||
|
Location
|
||||||
|
\family default
|
||||||
|
.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -6504,7 +6502,11 @@ Car
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
User
|
User
|
||||||
\family default
|
\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_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -6691,7 +6693,11 @@ This function retrieves all the information about the
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
Reservation
|
Reservation
|
||||||
\family default
|
\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_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -6874,7 +6880,8 @@ This function terminates the current
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
Reservation
|
Reservation
|
||||||
\family default
|
\family default
|
||||||
.
|
, notifies it to the user through the Notification Manager and sends a payment
|
||||||
|
request to the Payment Manager.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -7065,7 +7072,11 @@ Rent
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
Reservation
|
Reservation
|
||||||
\family default
|
\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_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -7248,7 +7259,11 @@ This function retrieves all the information about the
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
Rent
|
Rent
|
||||||
\family default
|
\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_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -7427,11 +7442,21 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\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
|
\family typewriter
|
||||||
Rent
|
Rent
|
||||||
\family default
|
\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_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -7618,7 +7643,8 @@ This function terminates the current
|
|||||||
\family typewriter
|
\family typewriter
|
||||||
Rent
|
Rent
|
||||||
\family default
|
\family default
|
||||||
.
|
, notifies it to the user through the Notification Manager and sends a payment
|
||||||
|
request to the Payment Manager.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -7810,7 +7836,7 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\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_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -7946,10 +7972,6 @@ Main functions implemented by the
|
|||||||
Payment Manager
|
Payment Manager
|
||||||
\series default
|
\series default
|
||||||
:
|
:
|
||||||
\begin_inset VSpace smallskip
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -7997,20 +8019,14 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
This function will apply the fees for each
|
This function applies the fees for a
|
||||||
\family typewriter
|
\family typewriter
|
||||||
Reservation
|
Reservation
|
||||||
\family default
|
\family default
|
||||||
instance.
|
instance.
|
||||||
Actually, the user can terminate a reservation for free, but in the future
|
Now the user can terminate a reservation for free, but in the future if
|
||||||
if PowerEnjoy would decide to apply a fee for the termination of a reservation,
|
PowerEnjoy would decide to apply a fee for the termination of a reservation,
|
||||||
it would be very easy to modify this value.
|
it would be 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.
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -8110,7 +8126,7 @@ Reservation
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\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
|
\family typewriter
|
||||||
User
|
User
|
||||||
\family default
|
\family default
|
||||||
@ -8139,13 +8155,6 @@ Reservation
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
\begin_inset VSpace smallskip
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -8193,15 +8202,12 @@ Description
|
|||||||
\begin_inset Text
|
\begin_inset Text
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
This function will calculate the fees for each
|
This function calculates the fees for a
|
||||||
\family typewriter
|
\family typewriter
|
||||||
Rent
|
Rent
|
||||||
\family default
|
\family default
|
||||||
instance.
|
instance taking in account eventual discounts and other additional fees
|
||||||
In this case we have to consider eventual discounts and other additional
|
before sending the payment request.
|
||||||
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.
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -8334,13 +8340,6 @@ Rent
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
\begin_inset VSpace smallskip
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -8517,13 +8516,6 @@ Rent
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
\begin_inset VSpace smallskip
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
Loading…
Reference in New Issue
Block a user