def customer_payment_methods(self):
        """
        An iterable of all of the customer's payment methods
        (sources, then legacy cards)
        """
        yield from self.sources.iterator()

        yield from self.legacy_cards.iterator()

        An iterable of all of the customer's payment methods
        (sources, then legacy cards)
        
djstripe/models/core.py