(self)
return (
            self.has_valid_source() or self.default_payment_method is not None
        ) and self.date_purged is None
Determines if this customer is able to be charged.
Determines if this customer is able to be charged.
Determines if this customer is able to be charged .
def can_charge(self):
        """Determines if this customer is able to be charged."""

        return (
            self.has_valid_source() or self.default_payment_method is not None
        ) and self.date_purged is None
def can_charge ( self ) : return ( self . has_valid_source ( ) or self . default_payment_method is not None ) and self . date_purged is None