2024-08-19 02:35:16 +03:00
|
|
|
#ifndef CHECK_H
|
|
|
|
#define CHECK_H
|
|
|
|
#include "../goods/goods.h"
|
|
|
|
#include <vector>
|
|
|
|
|
2024-09-01 16:15:00 +03:00
|
|
|
class Check {
|
2024-08-19 02:35:16 +03:00
|
|
|
std::vector<Goods> goods;
|
2024-09-01 16:15:00 +03:00
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
public:
|
|
|
|
Check();
|
|
|
|
void add_goods(Goods);
|
|
|
|
|
|
|
|
double calculae_total_price();
|
2024-08-24 00:45:47 +03:00
|
|
|
|
2024-09-01 16:15:00 +03:00
|
|
|
std::vector<Goods> &get_goods();
|
2024-08-19 02:35:16 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CHECK_H
|