- #include "LoyaltyScheme.h"
- class CreditCardAccount
- {
- public:
- CreditCardAccount(long number, double limit);
- ~CreditCardAccount();
- bool MakePurchase(double amount);
- void MakeRepayment(double amount);
- void PrintStatement();
- static int GetNumberOfAccounts();
- void RedeemLoyaltyPoints();
- private:
- long accountNumber;
- double currentBalance;
- double creditLimit;
- static int numberOfAccounts;
- LoyaltyScheme * ptrLoyaltyScheme;
- };