ReturnShipment

Extends \Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\AbstractReturnShipment

ORM\Table

(name="pickware_erp_return_shipments")

ORM\Entity

(repositoryClass="ReturnShipmentRepository")

ORM\AssociationOverrides

({ @ORM\AssociationOverride( name="document", joinColumns=@ORM\JoinColumn(name="documentId", referencedColumnName="ID") ), })

package

Default

Methods

__construct

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

Arguments

$order

\Shopware\Models\Order\Order

$number

addAttachment

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

addInternalComment

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

addItem

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

getAttachments

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

Response

\Doctrine\Common\Collections\ArrayCollection

getCreated

getCreated() : \DateTime
inherited

Response

\DateTime

getDocument

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

Response

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

getId

getId() : integer
inherited

Response

integer

getInternalComments

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

Response

\Doctrine\Common\Collections\ArrayCollection

getItems

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

Response

\Doctrine\Common\Collections\ArrayCollection

getNumber

getNumber() : string
inherited

Response

string

getOrder

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

Response

\Shopware\Models\Order\Order

getStatus

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

getTargetWarehouse

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

getUser

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

Response

\Shopware\Models\User\User

removeAttachment

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

removeInternalComment

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

removeItem

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

setCreated

setCreated(\DateTime|string $created) 
inherited

Arguments

$created

\DateTime|string

setDocument

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

Arguments

$document

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

setNumber

setNumber(string $number) 
inherited

Arguments

$number

string

setOrder

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

Arguments

$order

\Shopware\Models\Order\Order

setStatus

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

setStatusToAtLeast

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

setStatusToAtMost

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

setTargetWarehouse

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

setUser

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

Arguments

$user

\Shopware\Models\User\User|null