RevenueFlow.Metering.Abstractions
0.1.0-alpha.7.2
dotnet add package RevenueFlow.Metering.Abstractions --version 0.1.0-alpha.7.2
NuGet\Install-Package RevenueFlow.Metering.Abstractions -Version 0.1.0-alpha.7.2
<PackageReference Include="RevenueFlow.Metering.Abstractions" Version="0.1.0-alpha.7.2" />
<PackageVersion Include="RevenueFlow.Metering.Abstractions" Version="0.1.0-alpha.7.2" />
<PackageReference Include="RevenueFlow.Metering.Abstractions" />
paket add RevenueFlow.Metering.Abstractions --version 0.1.0-alpha.7.2
#r "nuget: RevenueFlow.Metering.Abstractions, 0.1.0-alpha.7.2"
#:package RevenueFlow.Metering.Abstractions@0.1.0-alpha.7.2
#addin nuget:?package=RevenueFlow.Metering.Abstractions&version=0.1.0-alpha.7.2&prerelease
#tool nuget:?package=RevenueFlow.Metering.Abstractions&version=0.1.0-alpha.7.2&prerelease
RevenueFlow.Metering.Abstractions
Provider-neutral operational usage contracts for SUM-unit metering. Units are positive Int64 values; rate plans contain exact integer minor-currency-unit prices. Included units are deducted before graduated or volume tiers. The final tier is unbounded. Metering is independent of prepaid resource balances and analytics projections.
Windows use explicit half-open UTC boundaries and an acceptance cutoff at or after the end. Application code owns calendar alignment, customer authorization, provider mapping, tax and invoicing. Closed statements are immutable local calculations, not provider invoices or payment confirmation.
Provider usage submission contracts live in RevenueFlow.Core. These contracts support interchangeable providers without introducing provider SDKs into metering.
IRevenueAccountUsageMetering adds account-owned windows with actor-attributed entries and one frozen UsageBillingTarget. IUsageOwnerGuardPreparer supplies actual same-store CAS writes for billing-account authorization; it never commits or calls a provider. RevenueFlow.Teams supplies TeamsUsageOwnerGuardPreparer. A shared remote customer/meter target cannot belong to independently rated owners; legacy exports require exact-request target registration before account billing is enabled. Account schema 2 explicitly omits user ownership, while existing schema-1 user serialization and economic fingerprints stay unchanged.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- RevenueFlow.Core (>= 0.1.0-alpha.7.2)
- RevenueFlow.Stores.Abstractions (>= 0.1.0-alpha.7.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on RevenueFlow.Metering.Abstractions:
| Package | Downloads |
|---|---|
|
RevenueFlow.Teams
Provider-neutral scoped commerce building blocks for .NET. |
|
|
RevenueFlow.Metering
Provider-neutral scoped commerce building blocks for .NET. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.7.2 | 62 | 11/10/2026 |