#NEWLINE# def find( self , payment_method_token ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# if ( ( payment_method_token is None ) or ( payment_method_token . strip ( ) == '' ) ) : #NEWLINE# #INDENT# raise NotFoundError ( ) #NEWLINE# #UNINDENT# response = self . config . http ( ) . get ( ( ( self . config . base_merchant_path ( ) + '/payment_methods/any/' ) + payment_method_token ) ) #NEWLINE# return self . _parse_payment_method ( self ) #NEWLINE# #UNINDENT# except NotFoundError : #NEWLINE# #INDENT# raise NotFoundError ( ( ( 'payment method with token ' + repr ( payment_method_token ) ) + ' not found' ) )