DataStore

API\Reports\Taxes\DataStore.


Description Description


Source Source

File: packages/woocommerce-admin/src/API/Reports/Taxes/DataStore.php


			

Top ↑

Methods Methods

  • add_from_sql_params — Fills FROM clause of SQL request based on user supplied parameters.
  • add_sql_query_params — Updates the database query with parameters used for Taxes report: categories and order status.
  • assign_report_columns — Assign report columns once full table name has been assigned.
  • get_data — Returns the report data based on parameters supplied by the user.
  • init — Set up all the hooks for maintaining and populating table data.
  • initialize_queries — Initialize query objects.
  • normalize_order_by — Maps ordering specified by the user to columns in the database/fields in the data.
  • sync_on_order_delete — Clean taxes data when an order is deleted.
  • sync_order_taxes — Create or update an entry in the wc_order_tax_lookup table for an order.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.