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