BarcodeLabelFacadeService

Implements \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelFacade

package

Default

Methods

__construct

__construct(\Enlight_Event_EventManager $eventManager, \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelTemplates $barcodeLabelTemplates, \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelPresets $barcodeLabelPresets, \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelRenderer $barcodeLabelRenderer) 

Returns a barcode label type.

getBarcodeLabelTypeByName(string $typeIdentifier) : \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\AbstractBarcodeLabelType|null
inheritdoc

Arguments

$typeIdentifier

string

Response

\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\AbstractBarcodeLabelType|null

Returns the list of all available barcode label templates.

getLabelTemplates(string $barcodeLabelTypeIdentifier) : array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelTemplate>
inheritdoc

Arguments

$barcodeLabelTypeIdentifier

string

Response

array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelTemplate>

Returns all barcode label paper layouts.

getPaperLayouts() : array<mixed,\Shopware\Plugins\ViisonCommon\Classes\Document\GridPaperLayout>
inheritdoc

Response

array<mixed,\Shopware\Plugins\ViisonCommon\Classes\Document\GridPaperLayout>

Create the barcode label pdf.

renderBarcodeLabels(\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelItemProvider $itemProvider, \Shopware\CustomModels\ViisonPickwareERP\BarcodeLabel\BarcodeLabelPreset $preset, integer $offsetX = null, integer $offsetY = null) : \Shopware\Plugins\ViisonCommon\Classes\Document\RenderedDocument\RenderedDocument
inheritdoc

Arguments

$offsetX

integer

$offsetY

integer

Response

\Shopware\Plugins\ViisonCommon\Classes\Document\RenderedDocument\RenderedDocument

Update the preset's data with the given values.

updatePresetWithValues(\Shopware\CustomModels\ViisonPickwareERP\BarcodeLabel\BarcodeLabelPreset $preset, array $values) 

Constants

Event to be fired to collect all installed barcode label types.

TYPES