Beispiel #1
0
        private void ApplyCoPayment(CoPaymentPolicy coPaymentPolicy)
        {
            var coPaymentResult = coPaymentPolicy.Apply(this);

            if (InsuredCost != TotalCost && coPaymentResult.NotCoveredAmount > Money.Euro(0))
            {
                InsuredCost += coPaymentResult.NotCoveredAmount;
                TuCost      -= coPaymentResult.NotCoveredAmount;
            }
        }
Beispiel #2
0
 public CostSplitPolicies(CoverageCheckPolicy coverageCheckPolicy, CoPaymentPolicy coPaymentPolicy, LimitsPolicy limitsPolicy)
 {
     CoverageCheckPolicy = coverageCheckPolicy;
     CoPaymentPolicy     = coPaymentPolicy;
     LimitsPolicy        = limitsPolicy;
 }