Coursework/Coursework/Account.h

28 lines
550 B
C++

#pragma once
#include "AccountRequisites.h"
#include "Product.h"
class Account : public Product
{
public:
unsigned long long balance = 0;
AccountRequisites accountRequisites;
Account() : Product("Áàíêîâñêèé ñ÷¸ò") {};
Account(
bool isAvailable,
unsigned long long balance,
AccountRequisites accountRequisites
) : Product(
"Áàíêîâñêèé ñ÷¸ò",
isAvailable
) {
this->balance = balance;
this->accountRequisites = accountRequisites;
};
void withdraw(unsigned long long balance) {};
void deposit(unsigned long long amount) {};
};