| package |
Default |
|---|
__construct(\Shopware\Components\Model\ModelManager $entityManager, \Shopware\Plugins\ViisonPickwareERP\Components\OrderDetailQuantityCalculator\OrderDetailQuantityCalculator $orderDetailQuantityCalculator)
\Shopware\Components\Model\ModelManager
\Shopware\Plugins\ViisonPickwareERP\Components\OrderDetailQuantityCalculator\OrderDetailQuantityCalculator
assertCancelReturnedAllowed(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem, integer $quantity)
| inheritdoc | |
|---|---|
\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem
integer
assertCancelUnshippedAllowed(\Shopware\Models\Order\Detail $orderDetail, integer $quantity)
| inheritdoc | |
|---|---|
\Shopware\Models\Order\Detail
integer
cancelRemainingQuantityToShipOfOrderDetail(\Shopware\Models\Order\Detail $orderDetail, integer $quantity)
| inheritdoc | |
|---|---|
\Shopware\Models\Order\Detail
integerPositive integer if you want to create a cancellation, negative if you want to revert one
cancelReturnedQuantityOfReturnShipmentItem(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem, integer $quantity)
| inheritdoc | |
|---|---|
\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem
integerPositive integer if you want to create a cancellation, negative if you want to revert one
cancelShippingCostsOfOrder(\Shopware\Models\Order\Order $order)
| inheritdoc | |
|---|---|
\Shopware\Models\Order\Order
getMaxCancelReturned(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem) : integer
| inheritdoc | |
|---|---|
\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem
integer
getMaxCancelUnshipped(\Shopware\Models\Order\Detail $orderDetail) : integer
| inheritdoc | |
|---|---|
\Shopware\Models\Order\Detail
integer
isCancelReturnedAllowed(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem, integer $quantity) : boolean
| inheritdoc | |
|---|---|
\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem
integer
boolean
isCancelUnshippedAllowed(\Shopware\Models\Order\Detail $orderDetail, integer $quantity) : boolean
| inheritdoc | |
|---|---|
\Shopware\Models\Order\Detail
integer
boolean