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

CustomerService domain

CustomerService Commands

BulkDeleteCustomerThreadCommand

PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\BulkDeleteCustomerThreadCommand __

Command details
Constructor parameters
  • $array $customerThreadIds
Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\BulkDeleteCustomerThreadHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\BulkDeleteCustomerThreadHandlerInterface
Return type void

DeleteCustomerThreadCommand

PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\DeleteCustomerThreadCommand __

Command details
Constructor parameters
  • $int $customerThreadId
Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\DeleteCustomerThreadHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\DeleteCustomerThreadHandlerInterface
Return type void

ForwardCustomerThreadCommand

PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\ForwardCustomerThreadCommand Forwards customer thread

Command details
Constructor parameters
    Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\ForwardCustomerThreadHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\ForwardCustomerThreadHandlerInterface
    Return type void

    ReplyToCustomerThreadCommand

    PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\ReplyToCustomerThreadCommand Reply to given customer thread

    Command details
    Constructor parameters
    • $int $customerThreadId
    • $string $replyMessage
    Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\ReplyToCustomerThreadHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\ReplyToCustomerThreadHandlerInterface
    Return type void

    UpdateCustomerThreadStatusCommand

    PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\UpdateCustomerThreadStatusCommand Updates customer thread with given status

    Command details
    Constructor parameters
    • $int $customerThreadId
    • $string $newCustomerThreadStatus
    Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\UpdateCustomerThreadStatusHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\UpdateCustomerThreadStatusHandlerInterface
    Return type void

    CustomerService Queries

    GetCustomerServiceSignature

    PrestaShop\PrestaShop\Core\Domain\CustomerService\Query\GetCustomerServiceSignature Gets signature for replying in customer thread

    Query details
    Constructor parameters
    • $int $languageId
    Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryHandler\GetCustomerServiceSignatureHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryHandler\GetCustomerServiceSignatureHandlerInterface
    Return type string

    GetCustomerThreadForViewing

    PrestaShop\PrestaShop\Core\Domain\CustomerService\Query\GetCustomerThreadForViewing Gets customer thread for viewing

    Query details
    Constructor parameters
    • $int $customerThreadId
    Handler class PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryHandler\GetCustomerThreadForViewingHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryHandler\GetCustomerThreadForViewingHandlerInterface
    Return type PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryResult\CustomerThreadView