OrderDetailQuantityViolationException

Extends \Exception Implements \Shopware\Plugins\ViisonCommon\Components\ExceptionTranslation\LocalizableThrowable

package

Default

Methods

__construct

__construct(string $message, string $snippetName, array $snippetArguments = array()) 

Arguments

$message

string

$snippetName

string

$snippetArguments

array

violationForExistingOrderDetail

violationForExistingOrderDetail(\Shopware\Models\Order\Detail $orderDetail, integer $quantity, integer $shipped) : \Shopware\Plugins\ViisonPickwareERP\Components\OrderDetailQuantityValidator\OrderDetailQuantityViolationException
static

Arguments

$orderDetail

\Shopware\Models\Order\Detail

$quantity

integer

$shipped

integer

Response

\Shopware\Plugins\ViisonPickwareERP\Components\OrderDetailQuantityValidator\OrderDetailQuantityViolationException

violationForNewOrderDetail

violationForNewOrderDetail(integer $quantity, integer $shipped) : \Shopware\Plugins\ViisonPickwareERP\Components\OrderDetailQuantityValidator\OrderDetailQuantityViolationException
static