Refactore methods for CreditCard Class.