Documentation

AccountController extends Controller
in package

Table of Contents

$accountService  : AccountService
$creditCardService  : CreditCardService
$serviceService  : ServiceService
$userService  : UserService
__construct()  : mixed
getCreditCards()  : CreditCardResourceCollection|Response
Fetch all credit cards owned by the Account
getServices()  : ServiceResourceCollection|JsonResponse
Fetch all Services of the Account
getUsers()  : UserResourceCollection|JsonResponse
Fetch all users can access the specified account
index()  : AccountResourceCollection|JsonResponse
show()  : AccountResource
Display the specified resource.

Properties

Methods

show()

Display the specified resource.

public show(int|string $idOrEmail) : AccountResource
Parameters
$idOrEmail : int|string

the field to search for

Tags
throws
Exception

whmcs API error

Return values
AccountResource

the account resource

Search results