/// <summary> /// Returns actual total claim fields fee /// </summary> private static int ClaimFieldsFee(this Claim claim, int?fieldsFee) { if (fieldsFee == null) { fieldsFee = claim.FieldsFee ?? claim.CalcClaimFieldsFee(); } // cache claim.FieldsFee = fieldsFee; return(fieldsFee ?? 0); }