WIP billing
This commit is contained in:
parent
96b304a7a9
commit
0c254b805d
5 changed files with 68 additions and 0 deletions
14
Yavsc/Model/Billing/FixedImpacter.cs
Normal file
14
Yavsc/Model/Billing/FixedImpacter.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
namespace Yavsc.Models.Billing {
|
||||
public class FixedImpacter : IBillingImpacter
|
||||
{
|
||||
public decimal ImpactedValue { get; set; }
|
||||
public FixedImpacter (decimal impact)
|
||||
{
|
||||
ImpactedValue = impact;
|
||||
}
|
||||
public decimal Impact(decimal orgValue)
|
||||
{
|
||||
return orgValue + ImpactedValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue