* @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\CustomerService\Query; use PrestaShop\PrestaShop\Core\Domain\CustomerService\ValueObject\CustomerThreadId; /** * Gets customer thread for viewing */ class GetCustomerThreadForViewing { /** * @var CustomerThreadId */ private $customerThreadId; /** * @param int $customerThreadId */ public function __construct($customerThreadId) { $this->customerThreadId = new CustomerThreadId($customerThreadId); } /** * @return CustomerThreadId */ public function getCustomerThreadId() { return $this->customerThreadId; } }