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.

CustomerService domain

CustomerService Commands

ForwardCustomerThreadCommand

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

Command details
Constructor parameters
    Handler class PrestaShop\PrestaShop\Adapter\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\Adapter\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

    GetCustomerThreadForViewing

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

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

    Implements:

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

    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