|
#ifndef _PAYMENTINFO_H
#define _PAYMENTINFO_H
enum PaymentMethod
{
NotSelected = 0,
Monthly,
Quartly,
BiYearly,
Yearly,
Daily
};
public ref class PaymentInfo
{
private:
int paymentNo;
double payment;
double principle;
double interest;
double balance;
public:
property int PaymentNo
{
int get()
{ return paymentNo; }
void set(int value)
{ paymentNo = value; }
}
property double Payment
{
double get()
{ return payment; }
void set(double value)
{ payment = value; }
}
property double Principle
{
double get()
{ return principle; }
void set(double value)
{ principle = value; }
}
property double Interest
{
double get()
{ return interest; }
void set(double value)
{ interest = value; }
}
property double Balance
{
double get()
{ return balance; }
void set(double value)
{ balance = value; }
}
};
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.