Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 1.7.

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