PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

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