Frontend | Backend | Api

Inventory\Models\Frontend\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