Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #imports
- from abc import ABC, abstractmethod
- from Cuenta import Cuenta
- #class
- class Cliente(ABC):
- #cnstr
- def __init__(self, email, pasword, cuenta=Cuenta):
- self._email=email
- self._pasword=pasword
- self._cuenta=cuenta
- #meths
- #gtt & stt
- def getCuenta(self):
- return self._cuenta
- def getEmail(self):
- return self._email
- def getPasword(self):
- return self._pasword
- #
- def setEmail(self, nuevoEmail):
- self._email=nuevoEmail
- def setPasword(self, nuevoPasword):
- self._pasword=nuevoPasword
- #especificos
- @abstractmethod
- def cobrarGastoDeMantenimiento(self, tipoDeCuenta=Cuenta):
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement