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

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