예제 #1
0
 def __init__(self, customer, pin, balance=0.0):
     """Creates an Advantage Safe Savings Account"""
     Account.__init__(self,customer, pin, 'Advantage Safe', balance)
     if customer.student:
         self.waive = True
     else:
         self.waive = False
예제 #2
0
 def __init__(self, name, password, id, timestamp, length):
     self.symbols = False  #does it contain symbols
     self.alphabet = ('abcdefghijklmnopqrstuvwxyz'
                      'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                      '0123456789!@#$%^&*()-_')
     #Initialize Accounts Instance
     Account.__init__(self, name, password, id, timestamp, length)
예제 #3
0
    def __init__(self, customer_id, deposit_money):
        Account.__init__(self, customer_id)
        self.format_money = "{:.2f}".format(deposit_money)

        self.amount_whole = int(
            self.format_money[:self.format_money.find('.')])
        self.amount_part = int(self.format_money[self.format_money.find('.') +
                                                 1:])
예제 #4
0
 def __init__(self,
              nombre,
              apellido,
              numeroCuenta,
              cantidad,
              fecha,
              tipo=0.0):
     Account.__init__(self, numeroCuenta, cantidad)
     self._tipoInteres = 1 + tipo
     self.__fechaApertura = fecha
     self.__persona = Person(nombre, apellido)
 def __init__(self,
              nombre,
              apellido,
              numeroCuenta,
              cantidad,
              tipo=0.0,
              tarjetaDebito=False,
              tarjetaCredito=False,
              cuota=0.0):
     Account.__init__(self, numeroCuenta, cantidad)
     self.__tipoInteres = 1 + float(tipo)
     self.__tarjetaDebito = tarjetaDebito
     self.__tarjetaCredito = tarjetaCredito
     self.__cuotaMantenimiento = cuota
     self.__persona = Person(nombre, apellido)
예제 #6
0
 def __init__(self):
     Account.__init__(self)
예제 #7
0
 def __init__(self, name, balance, interest_rate, withdrawal_num_limit,
              num_of_withdrawals):
     Account.__init__(self, name, balance)
     self._interest_rate = interest_rate
     self._withdrawal_num_limit = withdrawal_num_limit
     self._num_of_withdrawals = num_of_withdrawals
예제 #8
0
파일: jd.py 프로젝트: wliustc/jd
 def __init__(self, user, pwd, rk_user = '', rk_pwd = ''):
     Account.__init__(self, JD, user, pwd, rk_user, rk_pwd)
예제 #9
0
 def __init__(self, acc_name, acc_num, start_b, ir):
     Account.__init__(self, acc_name, acc_num, start_b)
     self.ir = ir
예제 #10
0
 def __init__(self, name, balance, withdrawal_fee, interest_rate):
     Account.__init__(self, name, balance)
     self._withdrawal_fee = withdrawal_fee
     self._interest_rate = interest_rate
     self._num_of_withdrawals = 1
예제 #11
0
	def __init__(self, name, acc_num, balance, max_overdraft):
		Account.__init__(self, name, acc_num, balance)
		self.mMaxOverdraft = max_overdraft
예제 #12
0
 def __init__(self, holder, accnumber, sbal, interest_rate):
     Account.__init__(self, holder, accnumber, sbal)
     self.interest_rate = interest_rate
예제 #13
0
    def __init__(self):
        Account.__init__(self)

        # 0.35%
        self.interest_rate = 0.35
 def __init__(self, name, number, balance, overdraft_limit):
     Account.__init__(self, name, number, balance)
     self.overdraft_limit = overdraft_limit
예제 #15
0
 def __init__(self, acc_name, acc_num, start_b, od):
     Account.__init__(self, acc_name, acc_num, start_b)
     self.od = od
예제 #16
0
 def __init__(self, name, balance, overdraft, spend_limit):
     Account.__init__(self, name, balance)
     self._overdraft = overdraft
     self._spend_limit = spend_limit
예제 #17
0
 def __init__(self, description):
     Account.__init__(self)
     self.description = description
 def __init__(self, name, number, balance, interest_rate):
     Account.__init__(self, name, number, balance)
     self.interest_rate = interest_rate
예제 #19
0
 def __init__(self, filepath, charges):
     self.rate = 5
     Account.__init__(self, filepath)
     # at this point, super class members are available
     self.bal -= charges
     self.commit()
 def __init__(self, client, number, limit=0):
     Account.__init__(self, client, number)
     self.limit = limit
 def __init__(self, holder, accnumber, sbal, overdraft_limit):
     Account.__init__(self, holder, accnumber, sbal)
     self.overdraft_limit = overdraft_limit
예제 #22
0
 def __init__(self):
     Account.__init__(
         self
     )  # calls the Account constructor to initialize that part of the object
     print("SavingsAccount constructor")
     self.interestRate = 0.05
예제 #23
0
 def __init__(self, name, acc_num, balance, interest_rate):
     Account.__init__(self, name, acc_num, balance)
     self.mInterest = interest_rate