Billing Integration
The Billing Integration module in the APEX Portal provides access to billing-related features and components from the Billing.Razor library. It allows users to view and manage bill runs and related billing operations.
Integration Points
The APEX Portal integrates with the Billing.Razor library through:
- Assembly References: The Billing.Razor assembly is included as a project reference
- Router Configuration: Billing.Razor components are included in the router's AdditionalAssemblies collection
- Service Registration: Billing-related services are registered in the dependency injection container
// In App.razor
<Router AppAssembly="@typeof(App).Assembly"
AdditionalAssemblies="new[] { typeof(Billing.Razor.BillRuns).Assembly }">
...
</Router>
// In Program.cs
builder.Services.AddHttpClient<BillRunsTimelineEventDataProvider>(
client =>
{
client.BaseAddress = new Uri(new Uri(builder.HostEnvironment.BaseAddress), "./api/billing/");
});
builder.Services.AddTransient<ITimelineEventDataProvider, BillRunsTimelineEventDataProvider>();
Available Components
- BillRuns: Component for displaying and managing bill runs using a timeline view
Navigation
The Billing section is accessible via the sidebar navigation:
- Billing: Main navigation item
- Bill Runs: Sub-item linking to the bill runs timeline
Was this page useful?