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