* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\OrderState\Query; use PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\OrderStateId; /** * Gets order state information for editing. */ class GetOrderStateForEditing { /** * @var OrderStateId */ private $orderStateId; /** * @param int $orderStateId */ public function __construct($orderStateId) { $this->orderStateId = new OrderStateId($orderStateId); } /** * @return OrderStateId */ public function getOrderStateId() { return $this->orderStateId; } }