-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReturn.h
27 lines (26 loc) · 1.36 KB
/
Return.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
// ------------------------------------------------ Return.h -------------------------------------------------------
// Jasdeep Brar, Cameron Ufland CSS343 C
// Creation Date: March 1, 2020
// Date of Last Modification: March 14, 2020
// --------------------------------------------------------------------------------------------------------------------
// This is the header file for the Return class. It inherits from the Transaction class;
// --------------------------------------------------------------------------------------------------------------------
//The requirements for this assignment were specified by Wooyoung Kim via class
// and canvas.
// --------------------------------------------------------------------------------------------------------------------
#ifndef Return_h
#define Return_h
#include "Transaction.h"
class Return : public Transaction
{
public:
//constructors and destructors
Return();
Return(const string t, const int customerID, char type, const int releaseMonth, const int releaseYear, const string majorActorFirstName, const string majorActorLastName); //Classic movie
Return(const int customerID, char type, const string title, int releaseYear); //Funny movie
Return(const int customerID, char type, const string director, string title); //Drama movie
virtual void display();
private:
string transactionType = "Return";
};
#endif // !Return_h