Methods |
public
|
isInitialized($property): bool
|
#
|
public
|
getBudgetId(): string
Unique ID for the Budget.
Unique ID for the Budget.
|
#
|
public
|
setBudgetId(string $budgetId): self
Unique ID for the Budget.
Unique ID for the Budget.
|
#
|
public
|
getAccountId(): string
The Brex account this Budget belongs to.
The Brex account this Budget belongs to.
|
#
|
public
|
setAccountId(string $accountId): self
The Brex account this Budget belongs to.
The Brex account this Budget belongs to.
|
#
|
public
|
getCreatorUserId(): ?string
The ID of the user who originally created this budget.
The ID of the user who originally created this budget.
|
#
|
public
|
setCreatorUserId(?string $creatorUserId): self
The ID of the user who originally created this budget.
The ID of the user who originally created this budget.
|
#
|
public
|
getName(): string
Name for the Budget.
|
#
|
public
|
setName(string $name): self
Name for the Budget.
|
#
|
public
|
getDescription(): ?string
Description of what the Budget is used for.
Description of what the Budget is used for.
|
#
|
public
|
setDescription(?string $description): self
Description of what the Budget is used for.
Description of what the Budget is used for.
|
#
|
public
|
getParentBudgetId(): ?string
ID of parent Budget.
|
#
|
public
|
setParentBudgetId(?string $parentBudgetId): self
ID of parent Budget.
|
#
|
public
|
getOwnerUserIds(): string[]
User IDs of the owners of the Budget.
User IDs of the owners of the Budget.
|
#
|
public
|
setOwnerUserIds(string[] $ownerUserIds): self
User IDs of the owners of the Budget.
User IDs of the owners of the Budget.
|
#
|
public
|
getMemberUserIds(): string[]
User IDs of the members of the Budget.
User IDs of the members of the Budget.
|
#
|
public
|
setMemberUserIds(string[] $memberUserIds): self
User IDs of the members of the Budget.
User IDs of the members of the Budget.
|
#
|
public
|
getPeriodType(): string
Period type of the Budget e.g. MONTHLY.
Period type of the Budget e.g. MONTHLY.
|
#
|
public
|
setPeriodType(string $periodType): self
Period type of the Budget e.g. MONTHLY.
Period type of the Budget e.g. MONTHLY.
|
#
|
public
|
getStartDate(): ?DateTime
The UTC date when the Budget should start counting.
The UTC date when the Budget should start counting.
|
#
|
public
|
setStartDate(?DateTime $startDate): self
The UTC date when the Budget should start counting.
The UTC date when the Budget should start counting.
|
#
|
public
|
getEndDate(): ?DateTime
The UTC date when the Budget should stop counting.
The UTC date when the Budget should stop counting.
|
#
|
public
|
setEndDate(?DateTime $endDate): self
The UTC date when the Budget should stop counting.
The UTC date when the Budget should stop counting.
|
#
|
public
|
getLimit(): BudgetLimit
|
#
|
public
|
setLimit(BudgetLimit $limit): self
|
#
|
public
|
getBudgetStatus(): string
Status of the Budget e.g. APPROVED.
Status of the Budget e.g. APPROVED.
|
#
|
public
|
setBudgetStatus(string $budgetStatus): self
Status of the Budget e.g. APPROVED.
Status of the Budget e.g. APPROVED.
|
#
|
public
|
getLimitType(): string
|
#
|
public
|
setLimitType(string $limitType): self
|
#
|
public
|
getSpendType(): string
Whether this Budget only can be spent from by cards provisioned by this Budget.
Whether this Budget only can be spent from by cards provisioned by this Budget.
|
#
|
public
|
setSpendType(string $spendType): self
Whether this Budget only can be spent from by cards provisioned by this Budget.
Whether this Budget only can be spent from by cards provisioned by this Budget.
|
#
|
public
|
getCurrentPeriodBalance(): BudgetCurrentPeriodBalance
|
#
|
public
|
setCurrentPeriodBalance(BudgetCurrentPeriodBalance $currentPeriodBalance): self
|
#
|