-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAddress.h
67 lines (45 loc) · 1022 Bytes
/
Address.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
Group 2 B2B
Address Class header
Group members:
Zahir Cooper
Eric Lampley
Amani Muller
Claressa Wilson
Date last edit: 2/10/2020
*/
#include "Product.h"
#include <string>
#ifndef ADDRESS_H
#define ADDRESS_H
class Address
{
private:
std::string streetAddress;
std::string city;
std::string zipCode;
std::string state;
public:
// Constructor that initalizes parameters
Address(std::string, std::string, std::string, std::string);
// Default constructor
Address();
// Sets street name
void setStreetAddress(std::string);
// Returns street name
std::string getStreetAddress();
// Sets city name
void setCity(std::string);
// Returns city name
std::string getCity();
// Sets state name
void setState(std::string);
//Gets state name
std::string getState();
// Sets zipcode as a string
void setZipcode(std::string);
// Returns Zipcode as a string
std::string getZipcode();
void print();
};
#endif