Cloudflare\User\Billing::history PHP Метод

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

Billing History (permission needed: #billing:read) Access your billing profile object
public history ( integer | null $page = null, integer | null $per_page = null, string | null $order = null, string | null $type = null, string | null $occured_at = null, string | null $action = null )
$page integer | null Page number of paginated results
$per_page integer | null Number of items per page
$order string | null Field to order billing history by
$type string | null The billing item type
$occured_at string | null When the billing item was created
$action string | null The billing item action
    public function history($page = null, $per_page = null, $order = null, $type = null, $occured_at = null, $action = null)
    {
        $data = ['page' => $page, 'per_page' => $per_page, 'order' => $order, 'type' => $type, 'occured_at' => $occured_at, 'action' => $action];
        return $this->get('/user/billing/history', $data);
    }