示例#1
0
 public static bool IsFullMatch(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.Result?.MatchPercent == MappingConstants.FullMatch);
 }
示例#2
0
 public static bool IsNoMatch(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.Result?.MatchPercent == "0");
 }
示例#3
0
 public static string GetApttusId(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.DataArea?.Party?.IdentifierIdentification?.FirstOrDefault(x => x?.IdentificationSchemeAgencyIdentifier == MappingConstants.ApttusAgencyIdentifier)?.Designation);
 }
示例#4
0
 public static bool IsPartyDead(this MatchPartyResponse matchPartyResponse)
 {
     return(matchPartyResponse?.DataArea?.Party?.PersonStatusIndicator != MappingConstants.PartyMatchedAlive);
 }