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
PrestaShop\PrestaShop\Core\Domain\Order\Command\AddCartRuleToOrderCommand
Adds cart rule to given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddCartRuleToOrderHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\AddOrderFromBackOfficeCommand
Adds new order from given cart.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddOrderFromBackOfficeHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Order\ValueObject\OrderId |
PrestaShop\PrestaShop\Core\Domain\Order\Payment\Command\AddPaymentCommand
Adds payment for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddPaymentHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Product\Command\AddProductToOrderCommand
Adds product to an existing order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddProductToOrderHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\BulkChangeOrderStatusCommand
Changes status for given orders.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\BulkChangeOrderStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\CancelOrderProductCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\CancelOrderProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\ChangeOrderCurrencyCommand
Changes currency for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\ChangeOrderCurrencyHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\ChangeOrderDeliveryAddressCommand
Changes delivery address for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\ChangeOrderDeliveryAddressHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\ChangeOrderInvoiceAddressCommand
Changes invoice address for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\ChangeOrderInvoiceAddressHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\DeleteCartRuleFromOrderCommand
Removes cart rule from given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\DeleteCartRuleFromOrderHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Product\Command\DeleteProductFromOrderCommand
Deletes product from given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\DeleteProductFromOrderHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\DuplicateOrderCartCommand
Duplicates cart for given order
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\DuplicateOrderCartHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Cart\ValueObject\CartId |
PrestaShop\PrestaShop\Core\Domain\Order\Invoice\Command\GenerateInvoiceCommand
Generates invoice for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\GenerateInvoiceHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\IssuePartialRefundCommand
Issues partial refund for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\IssuePartialRefundHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\IssueReturnProductCommand
Issues return product for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\IssueReturnProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\IssueStandardRefundCommand
Issues standard refund for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\IssueStandardRefundHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\ResendOrderEmailCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\ResendOrderEmailHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\SendProcessOrderEmailCommand
Sends email to customer with link for processing the order from cart
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\SendProcessOrderEmailHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\SetInternalOrderNoteCommand
Sets internal note about order that can only be seen in Back Office.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\SetInternalOrderNoteHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Invoice\Command\UpdateInvoiceNoteCommand
Adds note for given invoice.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\UpdateInvoiceNoteHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\UpdateOrderShippingDetailsCommand
Updates shipping details for given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\UpdateOrderShippingDetailsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Command\UpdateOrderStatusCommand
Updates order status.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\UpdateOrderStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Product\Command\UpdateProductInOrderCommand
Updates product in given order.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\CommandHandler\UpdateProductInOrderHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Order\Query\GetOrderForViewing
Get order for view in Back Office
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderForViewing |
PrestaShop\PrestaShop\Core\Domain\Order\Query\GetOrderPreview
__
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderPreviewHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderPreview |
PrestaShop\PrestaShop\Core\Domain\Order\Query\GetOrderProductsForViewing
Query for paginated order products
Query details | |
---|---|
Constructor parameters | |
Handler class | PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderProductsForViewingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderProductsForViewing |