Class OrderActions
category |
System |
---|---|
package |
Extensions |
subpackage |
Orders |
_createBulkPdf(array $orderIds, string $type)
This method will parse the latest generated PDFs of the provided orders and will concatenate them into a single file. This file will be then outputted directly so that browsers download it immediately.
see | \mPDF |
---|---|
Throws |
|
array
The selected order IDs.
string
Bulk PDF type ('invoice' or 'packingslip').
_getOrderStatusName(\IdType $orderStatusId, \IdType $languageId) : string
_getPdfPermissions() : array
bulkPdfInvoices(array $orderIds)
Throws |
|
---|
array
The order IDs to be included in the concatenated file.
bulkPdfPackingSlips(array $orderIds)
Throws |
|
---|
array
The order IDs to be included in the concatenated file.
cancelOrder(array $orderIds, \BoolType $restockQuantity, \BoolType $recalculateShippingStatus, \BoolType $resetArticleStatus, \BoolType $notifyCustomer, \BoolType $sendComment, \StringType|null $comment = null)
changeOrderStatus(\IdType $orderId, \IdType $statusId, \StringType $comment, \BoolType $notifyCustomer, \BoolType $sendParcelTrackingCode, \BoolType $sendComment, \IdType $customerId = null)
removeOrderById(\IdType $orderId, \BoolType|null $restockQuantity = null, \BoolType|null $recalculateShippingStatus = null, \BoolType|null $resetProductStatus = null)