|
FactDev
0.1
|
The Rate class Rate of a prestation. More...
#include <rate.h>
Public Member Functions | |
| Rate () | |
| Rate::Rate Construct a Rate. | |
| Rate (double hourly) | |
| Rate::Rate Construct a Rate with an hourly rate. More... | |
| Rate (int idBilling, int idProject) | |
| Rate::Rate Construct a Rate for the Billing with idBilling as identify and from the project identified by idProject More... | |
| void | setDailyRate (const double &) |
| Rate::setDailyRate Modify the daily rate with the new value. | |
| void | setHourlyRate (const double &) |
| Rate::setHourlyRate Modify the hourly rate with the new value. | |
| double | getDailyRate () const |
| Rate::getDailyRate Return the daily rate. More... | |
| double | getHourlyRate () const |
| Rate::getHourlyRate Return the hourly rate. More... | |
| int | getNbDailyHours () const |
| Rate::getNbDailyHours Return the number of daily hours. More... | |
| double | getLegalRate () const |
| Rate::getLegalRate Return the legal rate. More... | |
| Models::Rate::Rate | ( | double | hourly | ) |
Rate::Rate Construct a Rate with an hourly rate.
| hourly | Hourly rate |
| Models::Rate::Rate | ( | int | idBilling, |
| int | idProject | ||
| ) |
Rate::Rate Construct a Rate for the Billing with idBilling as identify and from the project identified by idProject
| double Models::Rate::getDailyRate | ( | ) | const |
Rate::getDailyRate Return the daily rate.
| double Models::Rate::getHourlyRate | ( | ) | const |
Rate::getHourlyRate Return the hourly rate.
| double Models::Rate::getLegalRate | ( | ) | const |
Rate::getLegalRate Return the legal rate.
| int Models::Rate::getNbDailyHours | ( | ) | const |
Rate::getNbDailyHours Return the number of daily hours.