Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page

Learn how to upgrade to the latest version.

CustomerMessage domain

CustomerMessage Commands

AddOrderCustomerMessageCommand

PrestaShop\PrestaShop\Core\Domain\CustomerMessage\Command\AddOrderCustomerMessageCommand This command adds/sends message to the customer related with the order.

Command details
Constructor parameters
  • $int $orderId
  • $string $message
  • $bool $isPrivate
Handler class PrestaShop\PrestaShop\Adapter\CustomerService\CommandHandler\AddOrderCustomerMessageHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\CustomerMessage\CommandHandler\AddOrderCustomerMessageHandlerInterface
Return type void

CustomerMessage Queries