Skip to content

Conversation

@groyoh
Copy link
Contributor

@groyoh groyoh commented Dec 4, 2025

Context

Wallets::Balance::RefreshOngoingService and Wallets::Balance::RefreshOngoingUsageService contained duplicated logic for computing customer usage amounts across subscriptions.

Description

This extracts usage calculation logic into Customers::SubscriptionsUsageService which computes fees and billed usage amount for all active subscriptions.

@groyoh groyoh marked this pull request as draft December 4, 2025 17:01
## Context

`Wallets::Balance::RefreshOngoingService` and `Wallets::Balance::RefreshOngoingUsageService` contained duplicated logic for computing customer usage amounts across subscriptions.

## Description

This extracts usage calculation logic into `Customers::SubscriptionsUsageService` which computes fees and billed usage amount for all active subscriptions.
@groyoh groyoh force-pushed the chore/refactor-wallet-refresh branch from b972f36 to ffc79bd Compare December 5, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants