package |
Default |
---|
createOrderCancellationDocument(\Shopware\Models\Order\Order $order, \Shopware\Models\Document\Document $documentType, array $positions, string $invoiceNumber, string $comment, string|null $dateString, boolean $cancelShippingCost) : \Shopware\Models\Order\Document\Document
This method supports creating multiple documents of the same type for a single order.
\Shopware\Models\Order\Order
\Shopware\Models\Document\Document
array
string
string
string|null
A formatted date string for the invoice. If null, date of today is used.
boolean
\Shopware\Models\Order\Document\Document
createOrderDocument(\Shopware\Models\Order\Order $order, \Shopware\Models\Document\Document $documentType, array $documentConfig = array()) : \Shopware\Models\Order\Document\Document
\Shopware\Models\Order\Order
\Shopware\Models\Document\Document
array
\Shopware\Models\Order\Document\Document
showOrderCancellationDocumentPreview(\Shopware\Models\Order\Order $order, \Shopware\Models\Document\Document $documentType, array $positions, string $invoiceNumber, string $comment, string|null $dateString, boolean $cancelShippingCost)
Script execution is ended after output.
\Shopware\Models\Order\Order
\Shopware\Models\Document\Document
array
string
string
string|null
A formatted date string for the invoice. If null, date of today is used.
boolean