export class SecurityCodeCheck { private securityCode : number = 1234 ; public getSecurityCode ( ) { return this . securityCode ; } public isCodeCorrect ( secCodeToCheck ) { if ( secCodeToCheck === this . getSecurityCode ( ) ) { return true ; } else { return false ; } } }