class Account{
private string first_name, last_name, accountType, accountNumber;
private int accountPIN, totalDeposits, totalWithdrawals;
private float accountBalance;
public Account (string accountNumber, int accountPIN, string first_name, string last_name, float accountBalance, int totalDeposits, int totalWithdrawals, string accountType){
this.accountNumber = accountNumber;
this.accountPIN = accountPIN;
this.first_name = first_name;
this.last_name = last_name;
this.accountBalance = accountBalance;
this.totalDeposits = totalDeposits;
this.totalWithdrawals = totalWithdrawals;
this.accountType = accountType;
}
///Get and set for class
public string getaccountNumber(){
return this.accountNumber;
}
public void setaccountNumber(string newaccountNumber){
this.accountNumber = newaccountNumber;
}
public int getaccountPIN(){
return this.accountPIN;
}
public void setaccountPIN(int newaccountPIN){
this.accountPIN= newaccountPIN;
}
public string getfirst_name(){
return this.first_name;
}
public void setfirst_name(string newfirst_name){
this.first_name = newfirst_name;
}
public string getlast_name(){
return this.last_name;
}
public void setlast_name(string newlast_name){
this.last_name = newlast_name;
}
public float getaccountBalance(){
return this.accountBalance;
}
public void setaccountBalance(float newaccountBalance){
this.accountBalance = newaccountBalance;
}
public int gettotalDeposits(){
return this.totalDeposits;
}
public void settotalDeposits(int newTotalDeposits){
this.totalDeposits = newTotalDeposits;
}
public int gettotalWithdrawals(){
return this.totalWithdrawals;
}
public void settotalWithdrwals(int newTotalWithdrawals){
this.totalWithdrawals = newTotalWithdrawals;
}
public string getaccountType(){
return this.accountType;
}
public void setaccountType(string newaccountType){
this.accountType = newaccountType;
}
///get and set ended
///methods begin now
}