@classmethod
    def object_to_invoice(cls, manager, data):
        return manager.get_by_json(data, "invoice") if "invoice" in data else None
Search the given manager for the invoice matching this StripeCharge object
dataset/ETHPy150Open pydanny/dj-stripe/djstripe/stripe_objects.py/StripeCharge.object_to_invoice