-
Notifications
You must be signed in to change notification settings - Fork 0
/
Store.h
50 lines (40 loc) · 960 Bytes
/
Store.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 STORE_H
#define STORE_H
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <iomanip>
#include "Printable.h"
#include "StoreBase.h"
using namespace std;
class Store : public StoreBase
{
private:
int currentDay = 1;
int numCustomer = 1;
double balance = 30;
double rating = 5;
double target = 10;
public:
// Constructors
Store();
// Getters
int get_currentDay() const;
int get_numCustomer() const;
double get_balance() const;
double get_rating() const;
double get_target() const;
// Setters
void set_currentDay(int);
void set_numCustomer(int);
void set_balance(double);
void set_rating(double);
void set_target(double);
// Methods
void print() override; // Display Store's Inventory & number of each Item owned
void updateStore(); // Increment day, target, numCustomer & expirationList
// Destructor
~Store();
};
#endif