Пример #1
0
        /// <summary>
        /// Returns actual fee for a claim (as a sum of claim fee and fields fee)
        /// </summary>
        private static int ClaimCurrentFee(this Claim claim, DateTime operationDate, int?fieldsFee)
        {
            return(claim.BaseFee(operationDate)
                   + claim.ClaimFieldsFee(fieldsFee)
                   + claim.ClaimAccommodationFee());

            /******************************************************************
             * If you want to add additional fee to a claim's fee,
             * append your value to the expression above.
             * Example:
             *     return claim.BaseFee(operationDate)
             *         + claim.ClaimFieldsFee(fieldsFee)
             *         + claim.ClaimAccommodationFee()
             *         + claim.SomeOtherBigFee();
             *****************************************************************/
        }