BinLocationBarcodeLabel

Extends \Shopware\Components\Model\ModelEntity Implements \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabel

ORM\Entity

(repositoryClass="Repository")

ORM\Table

(name="pickware_erp_bin_location_barcode_labels")

package

Default

Methods

BarcodeLabel constructor.

__construct(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $binLocation, integer $quantity = 1) 

Arguments

$binLocation

\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation

the bin location to print a barcode label for

$quantity

integer

how many labels to print

Adds the given quantity to the quantity of this label.

addQuantity(integer $quantity) 

Arguments

$quantity

integer

how many more barcode labels to print

Returns the date when this barcode label was marked for printing.

getAdded() : \DateTime

Response

\DateTime

when this barcode label was marked for printing

getBinLocation

getBinLocation() : \Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation

Response

\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation

the bin location to print a barcode label for

The id of the barcode label

getId() : integer

Response

integer

Returns the quantity in which the barcode label will be printed.

getQuantity() : integer

Response

integer

how many barcode labels to print

setAdded

setAdded(\DateTime $added) 

Arguments

$added

\DateTime

when this barcode label was marked for printing

setBinLocation

setBinLocation(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $binLocation) 

Arguments

$binLocation

\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation

the bin location to print a barcode label for

Sets the quantity in which the barcode label will be printed.

setQuantity(integer $quantity) 

Arguments

$quantity

integer

how many barcode labels to print