feat: Add currency analytics, billing, and exchange rate services with multi-currency support and transaction processing

- Add AnalyticsServiceImpl with revenue/volume analysis, exchange rate trends, usage stats, and transaction type analytics
- Add GetRevenueByCurrency, GetTransactionVolumeByCurrency, GetExchangeRateTrends, GetCurrencyUsageStats methods
- Add GetMonthlyRevenueTrends, GetTopCurrenciesByRevenue, GetTransactionTypeAnalytics for reporting
- Add BillingServiceImpl with multi-currency billing, payment
This commit is contained in:
nutcas3
2026-05-02 02:50:41 +03:00
parent d3d43e5f35
commit bf5ee28917
6 changed files with 926 additions and 2 deletions
@@ -3,8 +3,7 @@ package services
import (
"fmt"
"time"
"github.com/nutcas3/telecom-platform/apps/carrier-connector/internal/repository"
"github.com/nutcas3/telecom-platform/apps/carrier-connector/internal/repository"
)
func (s *Service) validateRatePlan(plan *repository.RatePlan) error {