FactDev  0.1
Models::Rate Class Reference

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...
 

Detailed Description

The Rate class Rate of a prestation.

Author
Antoine de Roquemaurel

Constructor & Destructor Documentation

Models::Rate::Rate ( double  hourly)

Rate::Rate Construct a Rate with an hourly rate.

Parameters
hourlyHourly 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

Parameters
idBillingBilling identify
idProjectProject identify

Member Function Documentation

double Models::Rate::getDailyRate ( ) const

Rate::getDailyRate Return the daily rate.

Returns
double Models::Rate::getHourlyRate ( ) const

Rate::getHourlyRate Return the hourly rate.

Returns
double Models::Rate::getLegalRate ( ) const

Rate::getLegalRate Return the legal rate.

Returns
int Models::Rate::getNbDailyHours ( ) const

Rate::getNbDailyHours Return the number of daily hours.

Returns

The documentation for this class was generated from the following files: