Frontend | Backend | Api

Taxes\Models\Frontend\Category

Category

Method Description Returns
getId() int
getCode() string
getName() string
getDescription() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getSite() Site
getCategoryProviderCodes() Collection (CategoryProviderCode)
getProducts() Collection (Product)
getProviders(?array|null $criteria, string $sort, string $direction) Helper that will fetch instances of Taxes\Models\BaseProvider through Taxes\Models\CategoryProviderCode Collection
getRates() Collection (Rate)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool