#NEWLINE# def get_plan( self , code ) : #NEWLINE# #INDENT# response = self . client . make_request ( path = 'plans/get' , params = { #NEWLINE# #INDENT# 'code' : code , #NEWLINE# #UNINDENT# } ) #NEWLINE# plans_parser = PlansParser ( ) #NEWLINE# plans_data = plans_parser . parse_xml ( plans . content ) #NEWLINE# plans = [ PricingPlan ( ** plan_data ) for plan_data in plans_data ] #NEWLINE# return plans [ 0 ]