InventoryMovementInterface ​
- Type
- Interface
- Namespace
- craft\commerce\base
- Implemented by
- craft\commerce\base\InventoryMovement, craft\commerce\models\inventory\InventoryCommittedMovement, craft\commerce\models\inventory\InventoryFulfillMovement, craft\commerce\models\inventory\InventoryLocationDeactivatedMovement, craft\commerce\models\inventory\InventoryManualMovement, craft\commerce\models\inventory\InventoryRestockMovement, craft\commerce\models\inventory\InventoryTransferMovement
- Since
- 5.0.0
Interface for the execution of inventory movement transactions to be executed.
Public Methods ​
getFromInventoryLocation()
​
Returns ​
craft\commerce\models\InventoryLocation
getFromInventoryTransactionType()
​
Returns ​
\craft\commerce\enums\InventoryTransactionType
getInventoryItem()
​
Returns ​
craft\commerce\models\InventoryItem
getInventoryMovementHash()
​
Returns ​
getLineItemId()
​
Returns ​
getNote()
​
Returns ​
getQuantity()
​
Returns ​
getToInventoryLocation()
​
Returns ​
craft\commerce\models\InventoryLocation
getToInventoryTransactionType()
​
Returns ​
\craft\commerce\enums\InventoryTransactionType