AbstractReturnShipment

Extends \Shopware\Components\Model\ModelEntity

ORM\MappedSuperclass
package

Default

Methods

__construct

__construct(\Shopware\Models\Order\Order $order,  $number, \Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentStatus $status) 

Arguments

$order

\Shopware\Models\Order\Order

$number

addAttachment

addAttachment(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentAttachment $attachment) 

addInternalComment

addInternalComment(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentInternalComment $internalComment) 

addItem

addItem(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $item) 

getAttachments

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

Response

\Doctrine\Common\Collections\ArrayCollection

getCreated

getCreated() : \DateTime

Response

\DateTime

getDocument

getDocument() : \Shopware\Models\Order\Document\Document|null

Response

\Shopware\Models\Order\Document\Document|null

getId

getId() : integer

Response

integer

getInternalComments

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

Response

\Doctrine\Common\Collections\ArrayCollection

getItems

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

Response

\Doctrine\Common\Collections\ArrayCollection

getNumber

getNumber() : string

Response

string

getOrder

getOrder() : \Shopware\Models\Order\Order

Response

\Shopware\Models\Order\Order

getStatus

getStatus() : \Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentStatus

getTargetWarehouse

getTargetWarehouse() : \Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse|null

getUser

getUser() : \Shopware\Models\User\User

Response

\Shopware\Models\User\User

removeAttachment

removeAttachment(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentAttachment $attachment) 

removeInternalComment

removeInternalComment(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentInternalComment $internalComment) 

removeItem

removeItem(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $item) 

setCreated

setCreated(\DateTime|string $created) 

Arguments

$created

\DateTime|string

setDocument

setDocument(\Shopware\Models\Order\Document\Document|null $document = null) 

Arguments

$document

\Shopware\Models\Order\Document\Document|null

setNumber

setNumber(string $number) 

Arguments

$number

string

setOrder

setOrder(\Shopware\Models\Order\Order $order) 

Arguments

$order

\Shopware\Models\Order\Order

setStatus

setStatus(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentStatus $status) 

setStatusToAtLeast

setStatusToAtLeast(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentStatus $status) 

setStatusToAtMost

setStatusToAtMost(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentStatus $status) 

setTargetWarehouse

setTargetWarehouse(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse|null $targetWarehouse = null) 

setUser

setUser(\Shopware\Models\User\User|null $user = null) 

Arguments

$user

\Shopware\Models\User\User|null