ExpenseCategory
extends DataTransferObject
in package
Expense Categories are used to group expenses together to aid in expense tracking.
Tags
Table of Contents
Constants
- RESPONSE_FIELD = 'category'
Properties
- $category : string
- $categoryId : int
- $createdAt : DateTimeImmutable
- $id : int
- $isCogs : bool
- $isEditable : bool
- $parentId : int
- $transactionPosted : bool
- $updatedAt : DateTimeImmutable
- $visState : int
Constants
RESPONSE_FIELD
public
mixed
RESPONSE_FIELD
= 'category'
Properties
$category
public
string
$category
Name for this category, e.g. “Advertising”
$categoryId
public
int
$categoryId
Duplicate of id
$createdAt
public
DateTimeImmutable
$createdAt
The time of category creation.
$id
public
int
$id
The unique identifier of this expense category within this business.
$isCogs
public
bool
$isCogs
Represents cost of goods sold
$isEditable
public
bool
$isEditable
Can this category be edited
$parentId
public
int
$parentId
Category id of parent category
$transactionPosted
public
bool
$transactionPosted
$updatedAt
public
DateTimeImmutable
$updatedAt
The time of last modification.
$visState
public
int
$visState
The visibility state: active, deleted, or archived