CustomersScheduler.php
3 years ago
ImportInterface.php
4 years ago
ImportScheduler.php
1 month ago
MailchimpScheduler.php
1 year ago
OrdersScheduler.php
1 month ago
ImportInterface.php
29 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Import related abstract functions. |
| 4 | */ |
| 5 | |
| 6 | namespace Automattic\WooCommerce\Internal\Admin\Schedulers; |
| 7 | |
| 8 | interface ImportInterface { |
| 9 | /** |
| 10 | * Get items based on query and return IDs along with total available. |
| 11 | * |
| 12 | * @internal |
| 13 | * @param int $limit Number of records to retrieve. |
| 14 | * @param int $page Page number. |
| 15 | * @param int|bool $days Number of days prior to current date to limit search results. |
| 16 | * @param bool $skip_existing Skip already imported items. |
| 17 | */ |
| 18 | public static function get_items( $limit, $page, $days, $skip_existing ); |
| 19 | |
| 20 | /** |
| 21 | * Get total number of items already imported. |
| 22 | * |
| 23 | * @internal |
| 24 | * @return null |
| 25 | */ |
| 26 | public static function get_total_imported(); |
| 27 | |
| 28 | } |
| 29 |