Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\AddSupplierCommand
Creates new supplier with provided data
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\AddSupplierHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Supplier\ValueObject\SupplierId |
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\BulkDeleteSupplierCommand
Class BulkDeleteSupplierCommand is responsible for deleting multiple suppliers.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\BulkDeleteSupplierHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\BulkDisableSupplierCommand
Class BulkDisableSupplierCommand is responsible for disabling multiple suppliers.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\BulkDisableSupplierHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\BulkEnableSupplierCommand
Class BulkEnableSupplierCommand is responsible for enabling multiple suppliers.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\BulkEnableSupplierHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\DeleteSupplierCommand
Class DeleteSupplierCommand is responsible for deleting the supplier.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\DeleteSupplierHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\EditSupplierCommand
Edits supplier with provided data
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\EditSupplierHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Supplier\Command\ToggleSupplierStatusCommand
Class ToggleSupplierStatusCommand is responsible for toggling supplier status.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\ToggleSupplierStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Supplier\Query\GetSupplierForEditing
Gets supplier for editing in Back Office
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\QueryHandler\GetSupplierForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Supplier\QueryResult\EditableSupplier |
PrestaShop\PrestaShop\Core\Domain\Supplier\Query\GetSupplierForViewing
Get supplier information for viewing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Supplier\QueryHandler\GetSupplierForViewingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Supplier\QueryResult\ViewableSupplier |