ShowcaseCard domain

ShowcaseCard Commands

CloseShowcaseCardCommand

PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Command\CloseShowcaseCardCommand This command permanently closes a showcase card

Command details
Constructor parameters
  • $int $employeeId
  • $string $showcaseCardName
Handler class PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\CommandHandler\CloseShowcaseCardHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\CommandHandler\CloseShowcaseCardHandlerInterface
Return type void

ShowcaseCard Queries

GetShowcaseCardIsClosed

PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Query\GetShowcaseCardIsClosed This query retrieves the "closed status" of a showcase card

Query details
Constructor parameters
  • $int $employeeId
  • $string $showcaseCardName
Handler class PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\QueryHandler\GetShowcaseCardIsClosedHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\QueryHandler\GetShowcaseCardIsClosedHandlerInterface
Return type bool