RevenueFlow.Providers.Internal 0.1.0-alpha.7.2

This is a prerelease version of RevenueFlow.Providers.Internal.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RevenueFlow.Providers.Internal" Version="0.1.0-alpha.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RevenueFlow.Providers.Internal" Version="0.1.0-alpha.7.2" />
                    
Directory.Packages.props
<PackageReference Include="RevenueFlow.Providers.Internal" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RevenueFlow.Providers.Internal --version 0.1.0-alpha.7.2
                    
#r "nuget: RevenueFlow.Providers.Internal, 0.1.0-alpha.7.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RevenueFlow.Providers.Internal@0.1.0-alpha.7.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RevenueFlow.Providers.Internal&version=0.1.0-alpha.7.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RevenueFlow.Providers.Internal&version=0.1.0-alpha.7.2&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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