#NEWLINE# def apply_shipping_offers( self , basket , methods ) : #NEWLINE# #INDENT# '\n        Apply shipping offers to the passed set of methods\n        ' #NEWLINE# offer = basket . shipping_discounts [ 0 ] [ 'offer' ] #NEWLINE# return [ self . apply_shipping_offer ( basket , method , offer ) for method in methods ]