Methods |
public
|
listBudgets(array $queryParameters = [], string $fetch = self::FETCH_OBJECT): PageBudget|ResponseInterface|null
Lists Budgets belonging to this account
Lists Budgets belonging to this account
Parameters
$queryParameters |
{
|
$fetch |
Fetch mode to use (can be OBJECT or RESPONSE)
|
Throws
|
#
|
public
|
createBudget(
CreateBudgetRequest $requestBody,
array $headerParameters = [],
string $fetch = self::FETCH_OBJECT,
): Budget|ResponseInterface|null
Creates a Budget
Parameters
$headerParameters |
{
|
$fetch |
Fetch mode to use (can be OBJECT or RESPONSE)
|
Throws
|
#
|
public
|
getBudgetById(string $id, string $fetch = self::FETCH_OBJECT): Budget|ResponseInterface|null
Retrieves a Budget by ID
Parameters
$fetch |
Fetch mode to use (can be OBJECT or RESPONSE)
|
Throws
|
#
|
public
|
updateBudget(
string $id,
UpdateBudgetRequest $requestBody,
array $headerParameters = [],
string $fetch = self::FETCH_OBJECT,
): Budget|ResponseInterface|null
Updates a Budget
Parameters
$headerParameters |
{
|
$fetch |
Fetch mode to use (can be OBJECT or RESPONSE)
|
Throws
|
#
|
public
static
|
create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = [])
|
#
|