Beispiel #1
0
        private void ApplyCoverageCheck(CoverageCheckPolicy coverageCheckPolicy)
        {
            var coverageCheckResult = coverageCheckPolicy.Apply(this);

            if (!coverageCheckResult.IsCovered)
            {
                TuCost      -= coverageCheckResult.NotCoveredAmount;
                InsuredCost += coverageCheckResult.NotCoveredAmount;
            }
        }
Beispiel #2
0
 public CostSplitPolicies(CoverageCheckPolicy coverageCheckPolicy, CoPaymentPolicy coPaymentPolicy, LimitsPolicy limitsPolicy)
 {
     CoverageCheckPolicy = coverageCheckPolicy;
     CoPaymentPolicy     = coPaymentPolicy;
     LimitsPolicy        = limitsPolicy;
 }