2017-05-27 16:22:58 +02:00
|
|
|
|
using Yavsc.Billing;
|
2017-05-12 12:15:57 +02:00
|
|
|
|
|
2016-08-30 23:04:13 +02:00
|
|
|
|
namespace Yavsc.Models.Billing {
|
2017-05-12 12:15:57 +02:00
|
|
|
|
public class ProportionalImpacter : IBillingImpacter
|
2016-08-30 23:04:13 +02:00
|
|
|
|
{
|
|
|
|
|
|
public decimal K { get; set; }
|
|
|
|
|
|
public decimal Impact(decimal orgValue)
|
|
|
|
|
|
{
|
|
|
|
|
|
return orgValue * K;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-05-12 12:15:57 +02:00
|
|
|
|
}
|