WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Coupons::get_collection_params() public WC 1.0

Get the query params for collections.

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

No Hooks.

Return

Array. Nothing.

Usage

$Coupons = new Coupons();
$Coupons->get_collection_params();

Code of Coupons::get_collection_params() WC 5.3.0

<?php
public function get_collection_params() {
	$params           = parent::get_collection_params();
	$params['search'] = array(
		'description'       => __( 'Limit results to coupons with codes matching a given string.', 'woocommerce' ),
		'type'              => 'string',
		'validate_callback' => 'rest_validate_request_arg',
	);
	return $params;
}