RevenueFlow.SelfService 0.1.0-alpha.7.2

This is a prerelease version of RevenueFlow.SelfService.
dotnet add package RevenueFlow.SelfService --version 0.1.0-alpha.7.2
                    
NuGet\Install-Package RevenueFlow.SelfService -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.SelfService" 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.SelfService" Version="0.1.0-alpha.7.2" />
                    
Directory.Packages.props
<PackageReference Include="RevenueFlow.SelfService" />
                    
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.SelfService --version 0.1.0-alpha.7.2
                    
#r "nuget: RevenueFlow.SelfService, 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.SelfService@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.SelfService&version=0.1.0-alpha.7.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RevenueFlow.SelfService&version=0.1.0-alpha.7.2&prerelease
                    
Install as a Cake Tool

RevenueFlow.SelfService

Optional application-owned customer-center and retention flows. CustomerCenterService.OpenAsync issues expiring opaque action selections bound to the authenticated customer, full scope, effective access owner and current customer revision. ICustomerCenterActionResolver is mandatory trusted server code: it separately authorizes original billing-source control and supplies configured Core gateways/requests. Client inputs contain selection IDs, never provider references, arbitrary target plans or redirect URLs. Gifted access never implicitly authorizes billing changes.

RevenueCustomerCenterControls routes actions through the existing durable ProviderControlService. Local intent, command receipt, history and outbox commit before calling it. Unknown results remain reconcilable; reissue the same selection with reconcile: true. Current ownership and application billing authorization are rechecked. Completed operations retain their original result, and request hashes retain no sensitive purchase reference. Endpoints, authentication and credentials belong to the host.

Configure AcquisitionOperationService on RevenueCustomerCenterControls for ManagePaymentMethod and ManagementPortal. The trusted resolver supplies provider customer references and application return URLs. CustomerCenterActionResult.NextAction carries transient provider redirects/client secrets only on the live return value and is excluded from JSON serialization and journals. Hosts explicitly project the needed action into their authenticated response. Reconciliation may refresh it when the provider supports retrieval; creation-only expiring portal links require a new center selection if their original live response is lost. Existing completed controls still recheck current ownership and resolver authorization before returning their result, so resolver/customer availability is an intentional authorization boundary.

Cancellation surveys store a bounded enum only. Immutable retention offers pin real promotion campaigns; RetentionService.AcceptAsync durably claims one cancellation selection, invokes actual idempotent promotion redemption and recovers a crash after grant commit. A selection can choose either a control or a retention save. Complimentary retention grants do not imply a provider discount or automatically resume billing. Filtered eligible-offer pages retain the physical continuation even when empty.

BillingRecoveryService accepts trusted monotonic billing evidence, persists reminder schedules, and PumpDueAsync atomically advances the attempt counter with an event/outbox delivery. Applications iterate scoped pages and call it from their worker. BillingReminderConsumer suppresses recovered, older-generation or transferred-owner notifications immediately before calling IBillingReminderSink. The sink must deduplicate full scope/message ID. A recovery racing an already-started external notification cannot unsend it; the host owns delivery channels, addresses and any stronger cancellation guarantees. No raw survey notes, payment tokens, addresses or provider error messages are retained.

Reminder consumers authenticate the supplied current event against committed history through IRevenueEventReader, including its data schema version, while excluding optional raw payload freshness from the comparison. Use BillingReminderConsumer.CreateWithEventReader with the same configured reader as dispatch when installing schema upcasters or a custom reader. The default constructor uses the standard reader. Missing history, forged current views and inconsistent provenance reject before notification; raw compaction/expiry does not invalidate a readable normalized reminder.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.7.2 51 11/10/2026