* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Order\Command; use PrestaShop\PrestaShop\Core\Domain\Order\ValueObject\OrderId; /** * Duplicates cart for given order */ class DuplicateOrderCartCommand { /** * @var OrderId */ private $orderId; /** * @param int $orderId */ public function __construct($orderId) { $this->orderId = new OrderId($orderId); } /** * @return OrderId */ public function getOrderId() { return $this->orderId; } }