Automattic\WooCommerce\StoreApi\Exceptions

PartialOutOfStockException{}WC 1.0

PartialOutOfStockException class.

This exception is thrown when an item in a draft order has a quantity greater than what is available in stock.

Хуков нет.

Использование

$PartialOutOfStockException = new PartialOutOfStockException();
// use class methods

Методы

Нет Методов у класса.

Код PartialOutOfStockException{} WC 7.3.0

class PartialOutOfStockException extends StockAvailabilityException {}