Methods |
public
|
isInitialized($property): bool
|
#
|
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[]|null
User IDs of the owners of the Budget.
User IDs of the owners of the Budget.
|
#
|
public
|
setOwnerUserIds(string[]|null $ownerUserIds): self
User IDs of the owners of the Budget.
User IDs of the owners of the Budget.
|
#
|
public
|
getMemberUserIds(): string[]|null
User IDs of the members of the Budget.
User IDs of the members of the Budget.
|
#
|
public
|
setMemberUserIds(string[]|null $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
|
getLimit(): Money
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The…
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination
of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
|
#
|
public
|
setLimit(Money $limit): self
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The…
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination
of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
|
#
|
public
|
getLimitType(): string
Whether the Budget limit blocks spend.
Whether the Budget limit blocks spend.
|
#
|
public
|
setLimitType(string $limitType): self
Whether the Budget limit blocks spend.
Whether the Budget limit blocks spend.
|
#
|
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
|
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.
|
#
|