RevenueFlow.SelfService
0.1.0-alpha.7.2
dotnet add package RevenueFlow.SelfService --version 0.1.0-alpha.7.2
NuGet\Install-Package RevenueFlow.SelfService -Version 0.1.0-alpha.7.2
<PackageReference Include="RevenueFlow.SelfService" Version="0.1.0-alpha.7.2" />
<PackageVersion Include="RevenueFlow.SelfService" Version="0.1.0-alpha.7.2" />
<PackageReference Include="RevenueFlow.SelfService" />
paket add RevenueFlow.SelfService --version 0.1.0-alpha.7.2
#r "nuget: RevenueFlow.SelfService, 0.1.0-alpha.7.2"
#:package RevenueFlow.SelfService@0.1.0-alpha.7.2
#addin nuget:?package=RevenueFlow.SelfService&version=0.1.0-alpha.7.2&prerelease
#tool nuget:?package=RevenueFlow.SelfService&version=0.1.0-alpha.7.2&prerelease
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 | 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.Events (>= 0.1.0-alpha.7.2)
- RevenueFlow.Payments (>= 0.1.0-alpha.7.2)
- RevenueFlow.SelfService.Abstractions (>= 0.1.0-alpha.7.2)
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 |