-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcourier.h
50 lines (40 loc) · 921 Bytes
/
courier.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef PROJECT_COURIER_H
#define PROJECT_COURIER_H
#include "defs.h"
#include "order.h"
class Courier {
static int idSt;
int id;
int volMax;
int weightMax;
int fee;
public:
/**
* Constructor of class Courier
* @param volMax courier's max volume
* @param weightMax courier's max weight
* @param fee courier's fee
*/
Courier(int volMax, int weightMax, int fee );
/**
* This method returns the courier's id
* @return the id value
*/
int getId();
/**
* This method returns the courier's max volume
* @return the max volume value
*/
int getVolMax();
/**
* This method returns the courier's max weight
* @return the max weight value
*/
int getWeightMax();
/**
* This method returns the courier's fee
* @return the fee value
*/
int getFee();
};
#endif //PROJECT_COURIER_H