virb30 / lml-commerce

2 stars 0 forks source link

Implement AddProductStockUseCase #73

Closed virb30 closed 8 months ago

virb30 commented 10 months ago

Implement a UseCase that will be responsible for adding stock entries of a selected product

Rules:

  1. Must increment the computed stock of a product
  2. Must save a stock entry of the "in" operation
  3. Must emit an event to notify other interested services, such as a catalog service