OrderCancelerServiceDecoration

package

Default

Methods

assertCancelReturnedAllowed

assertCancelReturnedAllowed(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem,  $quantity) 
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::assertCancelReturnedAllowed

Arguments

$quantity

assertCancelUnshippedAllowed

assertCancelUnshippedAllowed(\Shopware\Models\Order\Detail $orderDetail,  $quantity) 
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::assertCancelUnshippedAllowed

Arguments

$orderDetail

\Shopware\Models\Order\Detail

$quantity

cancelRemainingQuantityToShipOfOrderDetail

cancelRemainingQuantityToShipOfOrderDetail(\Shopware\Models\Order\Detail $orderDetail,  $quantity) 
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::cancelRemainingQuantityToShipOfOrderDetail

Arguments

$orderDetail

\Shopware\Models\Order\Detail

$quantity

cancelReturnedQuantityOfReturnShipmentItem

cancelReturnedQuantityOfReturnShipmentItem(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem,  $quantity) 
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::cancelReturnedQuantityOfReturnShipmentItem

Arguments

$quantity

cancelShippingCostsOfOrder

cancelShippingCostsOfOrder(\Shopware\Models\Order\Order $order) 
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::cancelShippingCostsOfOrder

Arguments

$order

\Shopware\Models\Order\Order

getMaxCancelReturned

getMaxCancelReturned(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem) : integer
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::getMaxCancelReturned

Arguments

Response

integer

getMaxCancelUnshipped

getMaxCancelUnshipped(\Shopware\Models\Order\Detail $orderDetail) : integer
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::getMaxCancelUnshipped

Arguments

$orderDetail

\Shopware\Models\Order\Detail

Response

integer

isCancelReturnedAllowed

isCancelReturnedAllowed(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem,  $quantity) : boolean
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::isCancelReturnedAllowed

Arguments

$quantity

Response

boolean

isCancelUnshippedAllowed

isCancelUnshippedAllowed(\Shopware\Models\Order\Detail $orderDetail,  $quantity) : boolean
see \Shopware\Plugins\ViisonPickwareERP\Components\Cancellation\OrderCanceler::isCancelUnshippedAllowed

Arguments

$orderDetail

\Shopware\Models\Order\Detail

$quantity

Response

boolean