* @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\Command; use PrestaShop\PrestaShop\Core\Domain\CustomerService\ValueObject\CustomerThreadId; /** * Reply to given customer thread */ class ReplyToCustomerThreadCommand { /** * @var CustomerThreadId */ private $customerThreadId; /** * @var string */ private $replyMessage; /** * @param int $customerThreadId * @param string $replyMessage */ public function __construct($customerThreadId, $replyMessage) { $this->customerThreadId = new CustomerThreadId($customerThreadId); $this->replyMessage = $replyMessage; } /** * @return CustomerThreadId */ public function getCustomerThreadId() { return $this->customerThreadId; } /** * @return string */ public function getReplyMessage() { return $this->replyMessage; } }