#NEWLINE# @ classmethod #NEWLINE# def create_and_buy( cls , api_key = None , **params ) : #NEWLINE# #INDENT# requestor = Requestor ( api_key ) #NEWLINE# url = ( '%s/%s' % ( cls . class_url ( ) , 'create_and_buy' ) ) #NEWLINE# wrapped_params = { #NEWLINE# #INDENT# cls . class_name ( ) : params , #NEWLINE# #UNINDENT# } #NEWLINE# ( response , api_key ) = requestor . request ( 'post' , url , wrapped_params ) #NEWLINE# return convert_to_easypost_object ( response , api_key )