class_docstr: The Stripe Payment Intents Table implementation
class_docstr_tok: ["The","Stripe","Payment","Intents","Table","implementation"]
docstr: Cancels Stripe Payment Intents and updates the local data.
  
  Parameters
  ----------
  query : ast.Delete
  Given SQL DELETE query
  
  Returns
  -------
  None
  
  Raises
  ------
  ValueError
  If the query contains an unsupported condition
docstr_tok: ["Cancels","Stripe","Payment","Intents","and","updates","the","local","data",".","Parameters","--","--","--","--","--","query",":","ast.Delete","Given","SQL","DELETE","query","Returns","--","--","--","-","None","Raises","--","--","--","ValueError","If","the","query","contains","an","unsupported","condition"]
code: def delete(self, query: ast.Delete) -> None:
      """
      Cancels Stripe Payment Intents and updates the local data.
  
      Parameters
      ----------
      query : ast.Delete
      Given SQL DELETE query
  
      Returns
      -------
      None
  
      Raises
      ------
      ValueError
      If the query contains an unsupported condition
      """
      delete_statement_parser = DELETEQueryParser(query)
      where_conditions = delete_statement_parser.parse_query()
  
      if "payment_intents_df" not in self.__dict__:
          self.payment_intents_df = pd.json_normalize(
              self.get_payment_intents()
          )
  
      delete_query_executor = DELETEQueryExecutor(
          self.payment_intents_df, where_conditions
      )
  
      canceled_payment_intents_df = (
          delete_query_executor.execute_query()
      )
  
      payment_intent_ids = canceled_payment_intents_df["id"].tolist()
      self.cancel_payment_intents(payment_intent_ids)
  
      self.payment_intents_df = self.payment_intents_df[
          ~self.payment_intents_df["id"].isin(payment_intent_ids)
      ]
  
imports: import pandas
  import stripe
  from typing import Text, List, Dict, Any
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.handlers.utilities.query_utilities import INSERTQueryParser, DELETEQueryParser, UPDATEQueryParser, DELETEQueryExecutor, UPDATEQueryExecutor
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.handlers.utilities.query_utilities.select_query_utilities import SELECTQueryParser, SELECTQueryExecutor
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling the PaymentIntentsTable obj's underlying member method code with example usage: obj.delete(query) without return types