#NEWLINE# def get_purchased_items( self ) : #NEWLINE# #INDENT# items = [ PurchasedItem ( name = item . product_name , sku = item . product_sku , quantity = self . quantity , price = item . unit_price_gross . quantize ( Decimal ( '0.01' ) ) , currency = settings . DEFAULT_CURRENCY ) for item in self . order . get_items ( ) ] #NEWLINE# return items