Warehouse

Extends \Shopware\Components\Model\ModelEntity

ORM\Entity

(repositoryClass="WarehouseRepository")

ORM\Table

(name="pickware_erp_warehouses", uniqueConstraints={ @ORM\UniqueConstraint(name="code", columns={"code"}), @ORM\UniqueConstraint(name="name", columns={"name"}) })

package

Default

Methods

__construct

__construct() 

equals

equals(mixed $warehouse) : boolean

Arguments

$warehouse

mixed

Response

boolean

getAddress

getAddress() : string

Response

string

getArticleDetailConfigurations

getArticleDetailConfigurations() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getArticleDetailStockCounts

getArticleDetailStockCounts() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getBinLocationFormatComponents

getBinLocationFormatComponents() : array

Response

array

getBinLocations

getBinLocations() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getCode

getCode() : string

Response

string

getComment

getComment() : string

Response

string

getContact

getContact() : string

Response

string

getDisplayName

getDisplayName() : string

Response

string

getEmail

getEmail() : string

Response

string

getId

getId() : integer

Response

integer

getName

getName() : string

Response

string

getNullBinLocation

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

getPhone

getPhone() : string

Response

string

isDefaultReturnShipmentWarehouse

isDefaultReturnShipmentWarehouse() : boolean

Response

boolean

isDefaultWarehouse

isDefaultWarehouse() : boolean

Response

boolean

isStockAvailableForSale

isStockAvailableForSale() : boolean

Response

boolean

setAddress

setAddress(string $address) 

Arguments

$address

string

setBinLocationFormatComponents

setBinLocationFormatComponents(array|null $binLocationFormatComponents = null) 

Arguments

$binLocationFormatComponents

array|null

setCode

setCode(string $code) 

Arguments

$code

string

setComment

setComment(string $comment) 

Arguments

$comment

string

setContact

setContact(string $contact) 

Arguments

$contact

string

setDefaultReturnShipmentWarehouse

setDefaultReturnShipmentWarehouse(boolean $defaultReturnShipmentWarehouse) 

Arguments

$defaultReturnShipmentWarehouse

boolean

setDefaultWarehouse

setDefaultWarehouse(boolean $defaultWarehouse) 

Arguments

$defaultWarehouse

boolean

setEmail

setEmail(string $email) 

Arguments

$email

string

setName

setName(string $name) 

Arguments

$name

string

setNullBinLocation

setNullBinLocation(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $nullBinLocation) 
Throws
\InvalidArgumentException

if the passed $nullBinLocation belongs to a different warehouse than the receiver.

Arguments

setPhone

setPhone(string $phone) 

Arguments

$phone

string

setStockAvailableForSale

setStockAvailableForSale(boolean $stockAvailableForSale) 

Arguments

$stockAvailableForSale

boolean