Automattic\WooCommerce\StoreApi\Exceptions

OutOfStockException{}WC 1.0

OutOfStockException class.

This exception is thrown when an item in a draft order is out of stock completely.

Хуков нет.

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

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

Методы

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

Код OutOfStockException{} WC 7.1.0

class OutOfStockException extends StockAvailabilityException {}