Cost Comparison Service
Component Detail
Service Layer
low complexity
frontend
1
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Business logic layer that calculates total cost of ownership for both the status quo (manual tooling) and Meander, projecting costs over a configurable time horizon. Aggregates administrative overhead, error-correction time, and reporting labor from Impact Calculator output and combines with selected subscription tier.
cost-comparison-service
Responsibilities
- Compute current-state annual costs from Impact Calculator result set
- Apply selected Meander subscription pricing tier to derive total Meander cost
- Calculate net savings and ROI percentage across the 12-month projection
- Produce line-item breakdown array for the detailed view
- Validate input completeness before generating comparison output
Interfaces
calculateComparison(inputs: CalculatorInputs, tier: PricingTier): CostComparisonResult
getLineItems(result: CostComparisonResult): CostLineItem[]
getSummary(result: CostComparisonResult): CostSummary