Model
SalesChannel
Magento\InventorySales\Model\SalesChannel
What it does
This class represents a sales channel entity in Magento's Multi-Source Inventory (MSI) system.
Developers use it to identify and manage different sales channels (like websites, stores, or custom channels) that are linked to inventory sources.
It stores the channel type and code, allowing inventory to be allocated and managed across different selling platforms.
Public Methods
- getType()
- setType()
- getCode()
- setCode()
- getExtensionAttributes()
- setExtensionAttributes()