//Constructor public CloudBankUtils(BankKeys startKeys) { keys = startKeys; cli = new HttpClient(); totalCoinsWithdrawn = 0; onesInBank = 0; fivesInBank = 0; twentyFivesInBank = 0; hundredsInBank = 0; twohundredfiftiesInBank = 0; }//end constructor
//Constructors public CloudBankUtils(BankKeys startKeys) { keys = startKeys; haveKeys = false; if (startKeys != null) { haveKeys = true; } cli = new HttpClient(); totalCoinsWithdrawn = 0; onesInBank = 0; fivesInBank = 0; twentyfivesInBank = 0; hundredsInBank = 0; twohundredfiftiesInBank = 0; }
public CloudBankUtils(BankKeys startKeys, HttpClient client) { keys = startKeys; haveKeys = false; if (startKeys != null) { haveKeys = true; } cli = client; totalCoinsWithdrawn = 0; onesInBank = 0; fivesInBank = 0; twentyfivesInBank = 0; hundredsInBank = 0; twohundredfiftiesInBank = 0; haveReceipt = false; }//end constructor