RevenueFlow.Catalog.Abstractions
0.1.0-alpha.7.2
dotnet add package RevenueFlow.Catalog.Abstractions --version 0.1.0-alpha.7.2
NuGet\Install-Package RevenueFlow.Catalog.Abstractions -Version 0.1.0-alpha.7.2
<PackageReference Include="RevenueFlow.Catalog.Abstractions" Version="0.1.0-alpha.7.2" />
<PackageVersion Include="RevenueFlow.Catalog.Abstractions" Version="0.1.0-alpha.7.2" />
<PackageReference Include="RevenueFlow.Catalog.Abstractions" />
paket add RevenueFlow.Catalog.Abstractions --version 0.1.0-alpha.7.2
#r "nuget: RevenueFlow.Catalog.Abstractions, 0.1.0-alpha.7.2"
#:package RevenueFlow.Catalog.Abstractions@0.1.0-alpha.7.2
#addin nuget:?package=RevenueFlow.Catalog.Abstractions&version=0.1.0-alpha.7.2&prerelease
#tool nuget:?package=RevenueFlow.Catalog.Abstractions&version=0.1.0-alpha.7.2&prerelease
RevenueFlow.Catalog.Abstractions
ICatalogReader and ICatalogService expose replaceable durable catalog behavior. CatalogOfferRevision, OfferingRevision, ordered OfferingPackage alternatives and CatalogProviderMappingRevision reference immutable exact terms. Mapping bindings preserve provider/account/test-live mode independently for each purchase source. Provider import facts live in Core and do not grant benefits. Existing CatalogOffer and PurchaseSnapshot remain immutable captured local terms rather than payment proof.
Validated immutable catalog contracts in the RevenueFlow.Catalog namespace. All identifiers preserve ordinal, case-sensitive values and every definition belongs to a complete RevenueScope. Versions are positive immutable revisions. CatalogOffer requires matching scope and exact product revision across its product, price and fulfillment definitions.
Prices use nonnegative Int64 amounts in the currency's minor unit, with a three-uppercase-letter currency code. The code syntax is validated; currency availability and minor-unit exponent are application/provider responsibilities. A subscription price requires a positive billing period; a one-time price forbids one. Calendar billing periods describe terms, not a rule for calculating provider renewal timestamps.
Fulfillment definitions copy their allocation lists into read-only collections, reject null entries and ordinal duplicate keys within a benefit kind, and allow at most 256 allocations of each kind. Resource allocations require positive integer units. Entitlements explicitly distinguish permanent access, a positive fixed duration and the provider's subscription period. One-time offers reject subscription-period allocations. Applications and lifecycle implementations determine the actual grant start and end instants; definitions do not grant access themselves.
ProviderCatalogMapping binds a provider/account/product/optional-price reference to exact scoped local revisions. Provider names are ordinal identifiers. It contains no SDK, credentials or remote validation. PurchaseSnapshot retains the immutable offer and optional matching provider mapping at a UTC-normalized capture instant. A snapshot is neither payment evidence nor a completed order; callers must verify provider amounts, currency and payment state separately before fulfilling it. Fulfillment revisions and allocations remain frozen when new catalog revisions are registered.
The abstractions package does not implement persistence or provider adapters. The companion Catalog package implements document-store-backed publication. Neither package performs taxation, currency conversion, renewal reconciliation or checkout authorization.
| 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 (4)
Showing the top 4 NuGet packages that depend on RevenueFlow.Catalog.Abstractions:
| Package | Downloads |
|---|---|
|
RevenueFlow.Commerce.Abstractions
Provider-neutral scoped commerce building blocks for .NET. |
|
|
RevenueFlow.Teams.Abstractions
Provider-neutral scoped commerce building blocks for .NET. |
|
|
RevenueFlow.Catalog
Catalog snapshot behavior and a development-only immutable catalog registry for RevenueFlow. |
|
|
RevenueFlow.Growth.Abstractions
Scoped audience, paywall, placement and experiment contracts for RevenueFlow. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.7.2 | 136 | 11/10/2026 |