IncomingEvent

The events that have to be handled by the bounded context.

trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Enum entries

Received when a batch is ready for quality assurance.

Received when a batch is ready for quality assurance.

case NewBatch(batchID: BatchID, cheeseType: CheeseType, readyFrom: LocalDateTime)

Received when a batch is created.

Received when a batch is created.

case ProductRemovedFromStock(quantity: Quantity, product: Product)

Received when a product is removed from the stock.

Received when a product is removed from the stock.