Frontend | Backend | Api

Taxes\Models\Backend\Provider

Provider

Method Description Returns
getId() int
getName() string
getEntity() string
isEnabled() bool
getConfiguration() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getSite() Site
getCategoryProviderCodes() Collection (CategoryProviderCode)
getCategories(?array|null $criteria, string $sort, string $direction) Helper that will fetch instances of Taxes\Models\Category through Taxes\Models\CategoryProviderCode Collection
getZones() Collection (Zone)
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