docs: def transaction_search_query(self, transaction_type, **kwargs):
          """
              Query the Yelp Transaction Search API.
              
              documentation: https://www.yelp.com/developers/documentation/v3/transactions_search
              
              required parameters:
                  * transaction_type - transaction type
                  * one of either:
                      * location - text specifying a location to search for
                      * latitude and longitude
          """
          if not transaction_type:
              raise ValueError('A valid transaction type (parameter "transaction_type") must be provided.')
  
          if not kwargs.get('location') and (not kwargs.get('latitude') or not kwargs.get('longitude')):
              raise ValueError('A valid location (parameter "location") or latitude/longitude combination '
                               '(parameters "latitude" and "longitude") must be provided.')
  
          return self._query(TRANSACTION_SEARCH_API_URL.format(transaction_type), **kwargs)