PrestaShop\PrestaShop\Core\Domain\CartRule\Command\AddCartRuleCommand
Adds new cart rule
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\CommandHandler\AddCartRuleHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\CartRule\ValueObject\CartRuleId |
PrestaShop\PrestaShop\Core\Domain\CartRule\Command\BulkDeleteCartRuleCommand
Deletes cart rules in bulk action
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\CommandHandler\BulkDeleteCartRuleHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CartRule\Command\BulkToggleCartRuleStatusCommand
Toggles cart rule status in bulk action
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\CommandHandler\BulkToggleCartRuleStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CartRule\Command\DeleteCartRuleCommand
Deletes cart rule
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\CommandHandler\DeleteCartRuleHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CartRule\Command\ToggleCartRuleStatusCommand
Toggles cart rule status
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\CommandHandler\ToggleCartRuleStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CartRule\Query\GetCartRuleForEditing
Gets cart rule for editing in Back Office
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\QueryHandler\GetCartRuleForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\CartRule\QueryResult\EditableCartRule |
PrestaShop\PrestaShop\Core\Domain\CartRule\Query\SearchCartRules
Searches for cart rules
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CartRule\QueryHandler\SearchCartRulesHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\CartRule\QueryResult\FoundCartRule[] |