PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

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