Cloudflare\User\Billing\Subscriptions\Zones::search_sort_paginate PHP Метод

search_sort_paginate() публичный Метод

Search, sort, and paginate (permission needed: #billing:read) Search, sort, and paginate your subscriptions
public search_sort_paginate ( integer | null $page = null, integer | null $per_page = null, string | null $order = null, string | null $status = null, string | null $price = null, string | null $activated_on = null, string | null $expires_on = null, string | null $expired_on = null, string | null $cancelled_on = null, string | null $renewed_on = null, string | null $direction = null, string | null $match = null )
$page integer | null Page number of paginated results
$per_page integer | null Number of items per page
$order string | null Field to order subscriptions by
$status string | null The state of the subscription
$price string | null The price of the subscription that will be billed, in US dollars
$activated_on string | null When the subscription was activated
$expires_on string | null When the subscription will expire
$expired_on string | null When the subscription expired
$cancelled_on string | null When the subscription was cancelled
$renewed_on string | null When the subscription was renewed
$direction string | null Direction to order subscriptions
$match string | null Whether to match all search requirements or at least one (any)
    public function search_sort_paginate($page = null, $per_page = null, $order = null, $status = null, $price = null, $activated_on = null, $expires_on = null, $expired_on = null, $cancelled_on = null, $renewed_on = null, $direction = null, $match = null)
    {
        $data = ['page' => $page, 'per_page' => $per_page, 'order' => $order, 'status' => $status, 'price' => $price, 'activated_on' => $activated_on, 'expires_on' => $expires_on, 'expired_on' => $expired_on, 'cancelled_on' => $cancelled_on, 'renewed_on' => $renewed_on, 'direction' => $direction, 'match' => $match];
        return $this->get('/user/billing/subscriptions/zones', $data);
    }