'Refund the given order. As of right now, this just marks the order as refunded.'

def refund(self):

    self.status = 'refunded'
    self.save()
    orderitems = OrderItem.objects.filter(order=self).select_subclasses()
    self._emit_order_event('Refunded    Order', orderitems)
