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

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

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\Core\Domain\CustomerService\CommandHandler\AddOrderCustomerMessageHandler

Implements:

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

CustomerMessage Queries