def apply(self, basket, condition, offer):
    condition.consume_items(offer, basket, affected_lines=())
    return SHIPPING_DISCOUNT
def apply(self, basket, condition, offer):
    condition.consume_items(offer, basket, affected_lines=())
    return SHIPPING_DISCOUNT