Pricing Service
Component Detail
Service Layer
low complexity
frontend
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Provides structured pricing and feature-inclusion data for each Meander tier and the current-state baseline. Reads from a static JSON configuration file or environment variables, requiring no dynamic pricing API. Calculates total cost of ownership projections over one- to three-year horizons.
pricing-service
Responsibilities
- Load and validate pricing tier definitions from static configuration
- Calculate total cost of ownership across 1-year, 2-year, and 3-year horizons
- Provide feature-inclusion matrix per tier for table rendering
- Supply cost-delta values when impact calculator output is available
Interfaces
getPricingTiers()
getTierById(tierKey)
calculateTotalCostOfOwnership(tierKey, years)
getFeatureInclusionMatrix()
getCostDelta(currentStateCost, tierKey, years)
getComparisonRows()