Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation
1.0.2
Prefix Reserved
dotnet add package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation --version 1.0.2
NuGet\Install-Package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation -Version 1.0.2
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation" Version="1.0.2" />
<PackageVersion Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation" Version="1.0.2" />
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation" />
paket add Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation --version 1.0.2
#r "nuget: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation, 1.0.2"
#:package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation@1.0.2
#addin nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation&version=1.0.2
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation&version=1.0.2
Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation
Project Type: NuGet Project
Size: XS
Summary
Provides the EngineExtensions.GetCostAndBillingHelper extension method for the DataMiner Automation IEngine interface, giving automation scripts a one-line way to obtain an ICostAndBillingHelper and interact with the Cost & Billing repositories (rate cards, contracts, billable items, and more).
Getting Started
Prerequisites: A running DataMiner 10.6.4+ system with the SDM Registration package installed. The Cost & Billing Solution itself is installed together with this library, so there is no separate installation step for it.
Use the GetCostAndBillingHelper extension method on the IEngine instance available in your automation script to get an ICostAndBillingHelper and interact with the Cost & Billing repositories.
Read all cost rate cards:
ICostAndBillingHelper helper = engine.GetCostAndBillingHelper();
List<CostRatecard> ratecards = helper.CostRatecard.Read().ToList();
Read a single contract by identifier:
Contract contract = helper.Contract.Read(Guid.Parse("contract-id"));
Create a new billable event:
var billableEvent = new BillableEvent
{
Name = "My Billable Event",
};
helper.BillableEvent.Create(billableEvent);
For more details, refer to the full documentation.
Assembly
Assembly Name: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation
Public API
EngineExtensions.GetCostAndBillingHelper(this IEngine)— creates anICostAndBillingHelperfor the engine's underlying connection.
For unit testing, mock the public ICostAndBillingHelper interface directly (e.g. with Moq).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Skyline.DataMiner.Dev.Automation (>= 10.6.0.1)
- Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common (>= 1.0.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 |
|---|---|---|
| 1.0.2 | 156 | 9/2/2026 |
| 1.0.1 | 124 | 9/1/2026 |
| 1.0.1-prerelease5 | 98 | 8/31/2026 |