object-oriented programming class creditcard """ consumer credit card "" def init (selfcustomerbankacntlimit) """create new credit card instance the initial balance is zero customer the name of the customer ( john bowman bank the name of the bank ( california savings acnt the acount identifier ( limit credit limit (measured in dollars "" self customer customer self bank bank self account acnt self limit limit self balance def get customer(self) """return name of the customer "" return self customer def get bank(self) """return the bank name "" return self bank def get account(self) """return the card identifying number (typically stored as string"" return self account def get limit(self) """return current credit limit "" return self limit def get balance(self) """return current balance "" return self balance code fragment the beginning of the creditcard class definition (continued in code fragment