public function getContracts(int $accountID, int $page = 1)
    {
        $result = $this->httpHelper->get("/accounts/" . intval($accountID) . "/contracts", $page);
        $contracts = [];

        foreach ($result as $datum)
        {
            $contract = new Contract((array)$datum);
            array_push($contracts,$contract);
        }

        return $contracts;
    }