Skip to content

Commit

Permalink
Updated PaymentOptionsService
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-cialini committed Sep 25, 2024
1 parent 6dc4d67 commit ae11ad2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ private static StationCreditorInstitution getStationCreditorInstitution(String i

return stationCreditorInstitutionMap.values()
.stream().filter(item ->
item.getSegregationCode().equals(segregationCode) &&
item.getSegregationCode() != null &&
item.getSegregationCode().equals(segregationCode) &&
item.getCreditorInstitutionCode() != null &&
item.getCreditorInstitutionCode()
.equals(creditorInstitution.getCreditorInstitutionCode()))
.findFirst().orElseThrow(() ->
Expand Down

0 comments on commit ae11ad2

Please sign in to comment.