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