Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

OrderReturn domain

OrderReturn Commands

UpdateOrderReturnStateCommand 8.1.0

PrestaShop\PrestaShop\Core\Domain\OrderReturn\Command\UpdateOrderReturnStateCommand Updates order returns state.

Command details
Constructor parameters
  • $int $orderReturnId
  • $int $orderReturnStateId
Handler class PrestaShop\PrestaShop\Adapter\OrderReturn\CommandHandler\UpdateOrderReturnStateHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\OrderReturn\CommandHandler\UpdateOrderReturnStateHandlerInterface
Return type void

OrderReturn Queries

GetOrderReturnForEditing

PrestaShop\PrestaShop\Core\Domain\OrderReturn\Query\GetOrderReturnForEditing Gets order return for editing in Back Office

Query details
Constructor parameters
  • $int $orderReturnId
Handler class PrestaShop\PrestaShop\Adapter\OrderReturn\QueryHandler\GetOrderReturnForEditingHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\OrderReturn\QueryHandler\GetOrderReturnForEditingHandlerInterface
Return type PrestaShop\PrestaShop\Core\Domain\OrderReturn\QueryResult\OrderReturnForEditing