class-wc-abstract-order-data-store-interface.php
4 years ago
class-wc-coupon-data-store-interface.php
4 years ago
class-wc-customer-data-store-interface.php
4 years ago
class-wc-customer-download-data-store-interface.php
4 years ago
class-wc-customer-download-log-data-store-interface.php
4 years ago
class-wc-importer-interface.php
4 years ago
class-wc-log-handler-interface.php
4 years ago
class-wc-logger-interface.php
4 years ago
class-wc-object-data-store-interface.php
4 years ago
class-wc-order-data-store-interface.php
4 years ago
class-wc-order-item-data-store-interface.php
3 years ago
class-wc-order-item-product-data-store-interface.php
4 years ago
class-wc-order-item-type-data-store-interface.php
4 years ago
class-wc-order-refund-data-store-interface.php
4 years ago
class-wc-payment-token-data-store-interface.php
4 years ago
class-wc-product-data-store-interface.php
4 years ago
class-wc-product-variable-data-store-interface.php
4 years ago
class-wc-queue-interface.php
4 years ago
class-wc-shipping-zone-data-store-interface.php
4 years ago
class-wc-webhooks-data-store-interface.php
4 years ago
class-wc-webhooks-data-store-interface.php
33 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Webhook Data Store Interface |
| 4 | * |
| 5 | * @version 3.2.0 |
| 6 | * @package WooCommerce\Interface |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * WooCommerce Webhook data store interface. |
| 11 | */ |
| 12 | interface WC_Webhook_Data_Store_Interface { |
| 13 | |
| 14 | /** |
| 15 | * Get API version number. |
| 16 | * |
| 17 | * @since 3.2.0 |
| 18 | * @param string $api_version REST API version. |
| 19 | * @return int |
| 20 | */ |
| 21 | public function get_api_version_number( $api_version ); |
| 22 | |
| 23 | /** |
| 24 | * Get all webhooks IDs. |
| 25 | * |
| 26 | * @since 3.2.0 |
| 27 | * @throws InvalidArgumentException If a $status value is passed in that is not in the known wc_get_webhook_statuses() keys. |
| 28 | * @param string $status Optional - status to filter results by. Must be a key in return value of @see wc_get_webhook_statuses(). @since 3.6.0. |
| 29 | * @return int[] |
| 30 | */ |
| 31 | public function get_webhooks_ids( $status = '' ); |
| 32 | } |
| 33 |