refact.
This commit is contained in:
parent
cbed392dfd
commit
007b844185
283 changed files with 23194 additions and 590 deletions
16
Yavsc.Server/Models/Billing/FixedImpacter.cs
Normal file
16
Yavsc.Server/Models/Billing/FixedImpacter.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using Yavsc.Billing;
|
||||
|
||||
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