package |
Default |
---|
__construct(\Shopware\Components\Model\ModelManager $entityManager, \Enlight_Event_EventManager $eventManager, \Shopware\Plugins\ViisonCommon\Components\DocumentComponentListenerService $documentComponentListenerService)
\Shopware\Components\Model\ModelManager
\Enlight_Event_EventManager
\Shopware\Plugins\ViisonCommon\Components\DocumentComponentListenerService
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.
inheritdoc | |
---|---|
\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
inheritdoc | |
---|---|
\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.
inheritdoc | |
---|---|
\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
CONFIG