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\OrderState\Command\AddOrderStateCommand
Adds new order state with provided data
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\OrderState\CommandHandler\AddOrderStateHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\OrderStateId |
PrestaShop\PrestaShop\Core\Domain\OrderState\Command\EditOrderStateCommand
Edits provided order state. It can edit either all or partial data. Only not-null values are considered when editing order state. For example, if the name is null, then the original value is not modified, however, if name is set, then the original value will be overwritten.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\OrderState\CommandHandler\EditOrderStateHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\OrderState\Query\GetOrderStateForEditing
Gets order state information for editing.
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\OrderState\QueryHandler\GetOrderStateForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\OrderState\QueryResult\EditableOrderState |