WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Import

Controller::get_import_collection_params() public WC 1.0

Get the query params for collections.

{} It's a method of the class: Controller{}

No Hooks.

Return

Array. Nothing.

Usage

$Controller = new Controller();
$Controller->get_import_collection_params();

Code of Controller::get_import_collection_params() WC 5.3.0

<?php
public function get_import_collection_params() {
	$params                  = array();
	$params['days']          = array(
		'description'       => __( 'Number of days to import.', 'woocommerce' ),
		'type'              => 'integer',
		'sanitize_callback' => 'absint',
		'validate_callback' => 'rest_validate_request_arg',
		'minimum'           => 0,
	);
	$params['skip_existing'] = array(
		'description'       => __( 'Skip importing existing order data.', 'woocommerce' ),
		'type'              => 'boolean',
		'default'           => false,
		'sanitize_callback' => 'wc_string_to_bool',
		'validate_callback' => 'rest_validate_request_arg',
	);
	return $params;
}