code: def create_tax_class(cls, tax_class, **kwargs):
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('async'):
              return cls._create_tax_class_with_http_info(tax_class, **kwargs)
          else:
              (data) = cls._create_tax_class_with_http_info(tax_class, **kwargs)
              return data
docs: Create TaxClass
  
          Create a new TaxClass
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async=True
          >>> thread = api.create_tax_class(tax_class, async=True)
          >>> result = thread.get()
  
          :param async bool
          :param TaxClass tax_class: Attributes of taxClass to create (required)
          :return: TaxClass
                   If the method is called asynchronously,
                   returns the request thread.