RevenueFlow.Providers.Internal
0.1.0-alpha.7.2
dotnet add package RevenueFlow.Providers.Internal --version 0.1.0-alpha.7.2
NuGet\Install-Package RevenueFlow.Providers.Internal -Version 0.1.0-alpha.7.2
<PackageReference Include="RevenueFlow.Providers.Internal" Version="0.1.0-alpha.7.2" />
<PackageVersion Include="RevenueFlow.Providers.Internal" Version="0.1.0-alpha.7.2" />
<PackageReference Include="RevenueFlow.Providers.Internal" />
paket add RevenueFlow.Providers.Internal --version 0.1.0-alpha.7.2
#r "nuget: RevenueFlow.Providers.Internal, 0.1.0-alpha.7.2"
#:package RevenueFlow.Providers.Internal@0.1.0-alpha.7.2
#addin nuget:?package=RevenueFlow.Providers.Internal&version=0.1.0-alpha.7.2&prerelease
#tool nuget:?package=RevenueFlow.Providers.Internal&version=0.1.0-alpha.7.2&prerelease
RevenueFlow.Providers.Internal
The default local provider plans complimentary purchases, independent entitlements and renewing subscriptions behind Core's IRevenueIssuanceProvider. It references only RevenueFlow.Core and performs no persistence, clock reads, network calls or payment verification. Applications authorize support and administrative actions; Commerce orchestration commits the issuance state, benefit effects, receipt, history and outbox in one store transaction.
var provider = new InternalRevenueProvider(scope);
var request = new RevenueIssuanceRequest(provider.Binding, issuanceId,
RevenueIssuanceKind.Subscription, anchorUtc,
new RevenueIssuanceCadence(RevenueIssuanceCadenceUnit.Month));
var first = provider.Plan(request);
var second = provider.Plan(request, periodIndex: 1);
The immutable request pins the full tenant/project/environment/app scope, account, mode, nonempty issuance UUID and explicit UTC anchor. Plans reject a different binding. internal is the provider identity; the default account is default and default mode is test. Live mode may be explicitly configured for production grants. No external payment provider is impersonated.
An issuance retains one source identity. Each subscription period has a distinct stable transaction identity, and the subscription lineage stays stable across renewals. Replanning the same request and index is deterministic; it does not commit or authorize fulfillment. One-time purchases and entitlements accept only period zero. Entitlements may have an exclusive validity end or remain permanent. One-time purchase benefits follow their catalog rules.
Cadences support Day, Week, Month and Year with count 1–1000. Day and Week mean exact UTC calendar days, without local daylight-saving shifts. Every monthly or yearly boundary is computed from the original anchor: January 31 → February 28 → March 31, and February 29 recovers in the next leap year. Anchors and explicit entitlement ends must have zero UTC offset. Period indexes are bounded to 0–1,000,000 and any boundary outside the supported UTC date range fails before a plan is returned. The planner does not catch up missed periods or decide when to renew; the bounded Commerce worker and its injected clock own that policy.
Complimentary commerce records PurchaseConsiderationKind.Complimentary and zero paid money while retaining the original immutable catalog snapshot. A plan is neither a payment receipt nor a webhook observation. Cancellation, revocation, reason attribution, command deduplication, automatic scheduling and source-specific benefit reversal belong to Commerce and its store contracts.
| 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)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RevenueFlow.Providers.Internal:
| Package | Downloads |
|---|---|
|
RevenueFlow
RevenueFlow commerce composition with internal administrative issuance. External providers and stores are explicit opt-ins. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.7.2 | 56 | 11/10/2026 |