Interface PriceCatalog


public interface PriceCatalog
Outbound catalog port used by pricing use cases.
  • Method Summary

    Modifier and Type
    Method
    Description
    findActivePrice(String productCode)
    Finds an active catalog price for a product code.
  • Method Details

    • findActivePrice

      Optional<CatalogPrice> findActivePrice(String productCode)
      Finds an active catalog price for a product code.
      Parameters:
      productCode - requested product code
      Returns:
      active catalog price when the product can be quoted