billing
This commit is contained in:
parent
7b9078c6da
commit
42c08797e3
44 changed files with 2798 additions and 350 deletions
13
YavscLib/Billing/IBillItem.cs
Normal file
13
YavscLib/Billing/IBillItem.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
namespace YavscLib.Billing
|
||||
{
|
||||
public interface IBillItem {
|
||||
string Name { get; set; }
|
||||
string Description { get; set; }
|
||||
int Count { get; set; }
|
||||
decimal UnitaryCost { get; set; }
|
||||
string Currency { get; set; }
|
||||
|
||||
string Reference { get; }
|
||||
|
||||
}
|
||||
}
|
||||
10
YavscLib/Billing/IBillable.cs
Normal file
10
YavscLib/Billing/IBillable.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace YavscLib.Billing
|
||||
{
|
||||
public interface IBillable {
|
||||
string Description { get; set; }
|
||||
List<IBillItem> GetBillItems();
|
||||
|
||||
}
|
||||
}
|
||||
8
YavscLib/Billing/IBillingImpacter.cs
Normal file
8
YavscLib/Billing/IBillingImpacter.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
namespace YavscLib.Billing
|
||||
{
|
||||
public interface IBillingImpacter {
|
||||
decimal Impact(decimal orgValue);
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue