Frontend | Backend | Api

Taxes\Models\Backend\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
getHateoasLinks() Get the HATEOAS links for the record array
getEditUrl() Get the url for editing the record. string
getDeleteUrl() Get the url for deleting the record. string
getManageUrl() Get the url for managing records. string