export class AccountNumberCheck { private accountNumber : number = 12345678 ; public getAccountNumber ( ) { return this . accountNumber ; } public accountActive ( acctNumToCheck ) { if ( acctNumToCheck === this . getAccountNumber ( ) ) { return true ; } else { return false ; } } }