def process(self, order, items):
        for item in items:
            order.items_subtotal += item._line_item_price
            order.items_discount += item._line_item_discount or 0
            order.items_tax += item._line_item_tax

        self.set_processor_value(
            'total', 'items',
            order.items_discount + order.items_tax - order.items_subtotal)
dataset/ETHPy150Open matthiask/plata/plata/shop/processors.py/ItemSummationProcessor.process/swapped operands of `-`