Frontend | Backend | Api

Inventory\Models\Backend\Stock

Stock

Method Description Returns
getId() int
getProductCode() string
getAvailableQuantity() int
getReservedQuantity() int
getInTransitQuantity() int
getOnHandQuantity() int
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getWarehouse() Warehouse
getProduct() BaseProduct
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