#NEWLINE# @ property #NEWLINE# def cost_item_name( self ) : #NEWLINE# #INDENT# credit_types = [ unicode ( product [ 'type' ] ) for product in self . _humanized_products ( ) ] #NEWLINE# credit_types += [ unicode ( feature [ 'type' ] ) for feature in self . _humanized_features ( ) ] #NEWLINE# return _ ( 'Credits: {credit_types} for {sub_or_account}' ) . format ( credit_types = ', ' . join ( feature ) , sub_or_account = ( ( 'Subscription %s' % self . subscription ) if ( self . subscription is None ) else ( 'Account %s' % self . account . id ) ) )