Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page

Learn how to upgrade to the latest version.

TaxRulesGroup domain

TaxRulesGroup Commands

BulkDeleteTaxRulesGroupCommand

PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Command\BulkDeleteTaxRulesGroupCommand Command responsible for multiple tax rules groups deletion

Command details
Constructor parameters
  • $array $taxRulesGroupIds
Handler class PrestaShop\PrestaShop\Adapter\TaxRulesGroup\CommandHandler\BulkDeleteTaxRulesGroupHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\CommandHandler\BulkDeleteTaxRulesGroupHandlerInterface
Return type void

BulkSetTaxRulesGroupStatusCommand

PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Command\BulkSetTaxRulesGroupStatusCommand Command responsible for multiple tax rules groups status setting

Command details
Constructor parameters
  • $array $taxRulesGroupIds
  • $bool $expectedStatus
Handler class PrestaShop\PrestaShop\Adapter\TaxRulesGroup\CommandHandler\BulkSetTaxRulesGroupStatusHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\CommandHandler\BulkToggleTaxRulesGroupStatusHandlerInterface
Return type void

DeleteTaxRulesGroupCommand

PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Command\DeleteTaxRulesGroupCommand Command responsible for single tax rules group deletion

Command details
Constructor parameters
  • $int $taxRulesGroupId
Handler class PrestaShop\PrestaShop\Adapter\TaxRulesGroup\CommandHandler\DeleteTaxRulesGroupHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\CommandHandler\DeleteTaxRulesGroupHandlerInterface
Return type void

SetTaxRulesGroupStatusCommand

PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Command\SetTaxRulesGroupStatusCommand Command for setting single tax rules group status

Command details
Constructor parameters
  • $int $taxRulesGroupId
  • $bool $expectedStatus
Handler class PrestaShop\PrestaShop\Adapter\TaxRulesGroup\CommandHandler\SetTaxRulesGroupStatusHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\CommandHandler\ToggleTaxRulesGroupStatusHandlerInterface
Return type void

TaxRulesGroup Queries

GetTaxRulesGroupForEditing

PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Query\GetTaxRulesGroupForEditing Gets tax rules group for editing in Back Office

Query details
Constructor parameters
  • $int $taxRulesGroupId
Handler class PrestaShop\PrestaShop\Adapter\TaxRulesGroup\QueryHandler\GetTaxRulesGroupForEditingHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\QueryHandler\GetTaxRulesGroupForEditingHandlerInterface
Return type PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\QueryResult\EditableTaxRulesGroup