Méthode | Description | |
---|---|---|
Bank ( String name ) : System | ||
DoesAccountExist ( string name ) : bool | ||
GetAccountAmount ( string name ) : int | ||
UpdateAccount ( string name, int new_amount ) : void |
Méthode | Description | |
---|---|---|
InitializeDB ( ) : void |
Initializes this banks database for access later
|
|
SanitizeName ( ) : string |
Returns the name of the bank with spaces replaced with underscores.
|
public DoesAccountExist ( string name ) : bool | ||
name | string | |
Résultat | bool |
public GetAccountAmount ( string name ) : int | ||
name | string | |
Résultat | int |
public UpdateAccount ( string name, int new_amount ) : void | ||
name | string | |
new_amount | int | |
Résultat | void |