NotEnoughStock

case NotEnoughStock(product: Product, triedQuantity: Quantity, actualQuantity: AvailableQuantity)

An error raised by the removal from stock action if the quantity to be removed from stock exceeds the available one.

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product