public void Remove(IAmount amount) { _amount -= amount.Amount(); }
public void Increase(IAmount amount) { _amount += amount.Amount(); World.Publish(new RentIncreased()); }
public void Add(IAmount amount) { _amount += amount.Amount(); World.Publish(new MoneyDeposited()); }
public void PaySalary(IAmount amount) { _amount += amount.Amount(); World.Publish(new SalaryPaymentOccured(amount)); World.Publish(new MoneyDeposited()); }
public decimal Amount() { return(_callRate.Amount() * _rating.PaymentMultiplier()); }
public void Add(IAmount amount) { _amount += amount.Amount(); }
public void PaySalary(IAmount amount) { _amount += amount.Amount(); }