def record_discount(self, discount):
        discount['offer'].record_usage(discount)
        if 'voucher' in discount and discount['voucher']:
            discount['voucher'].record_discount(discount)
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/order/utils.py/OrderCreator.record_discount/original