Frontend | Backend | Api

Inventory\Models\Backend\Warehouse

Warehouse

Method Description Returns
getId() int
getName() string
getCode() string
getExternalId() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getActive() DateTime
isActive() Returns if the warehouse is active. Returns if the active date of the warehouse is set and arrived. bool
getAddress() Address
getSite() Site
getDefaultPage() Page
getStocks() Collection (Stock)
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