package |
Default |
---|
__construct(\Shopware\Models\Order\Order $order, string $invoiceNumber)
\Shopware\Models\Order\Order
string
addPositionForOrderDetail(\Shopware\Models\Order\Detail $orderDetail, integer $quantity)
\Shopware\Models\Order\Detail
integer
addPositionWithoutOrderDetail(string $name, float $price, integer $quantity, \Shopware\Models\Tax\Tax|integer|null $tax = null, string $articleNumber = '')
string
float
integer
\Shopware\Models\Tax\Tax|integer|null
string
createDocument(\Shopware\Plugins\ViisonPickwareERP\Components\Document\OrderDocumentCreation $orderDocumentCreationService, \Shopware\Components\Model\ModelManager $entityManager) : \Shopware\Models\Order\Document\Document
\Shopware\Plugins\ViisonPickwareERP\Components\Document\OrderDocumentCreation
\Shopware\Components\Model\ModelManager
\Shopware\Models\Order\Document\Document
isEmpty() : boolean
boolean
true, iff the generated invoice would be completely empty
setComment(string $comment)
string
setDate(\DateTime $date)
\DateTime
setInvoiceNumber(string $invoiceNumber)
string
setShippingCosts(float $shippingCosts, float $shippingCostsNet, float $taxRate)
float
float
float
showDocumentPreview(\Shopware\Plugins\ViisonPickwareERP\Components\Document\OrderDocumentCreation $orderDocumentCreationService, \Shopware\Components\Model\ModelManager $entityManager)
Script execution is ended after output.
\Shopware\Plugins\ViisonPickwareERP\Components\Document\OrderDocumentCreation
\Shopware\Components\Model\ModelManager
FORMAT