-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SELC-4988] feat: Add new api to call national-registries for verifyi…
…ng Legals for pnpg (#246)
- Loading branch information
Showing
24 changed files
with
2,569 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...-api/src/main/java/it/pagopa/selfcare/external_api/api/MsPartyRegistryProxyConnector.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
package it.pagopa.selfcare.external_api.api; | ||
|
||
import it.pagopa.selfcare.external_api.model.institutions.InstitutionResource; | ||
import it.pagopa.selfcare.external_api.model.nationalRegistries.LegalVerification; | ||
|
||
public interface MsPartyRegistryProxyConnector { | ||
|
||
InstitutionResource findInstitution(String institutionExternalId); | ||
|
||
LegalVerification verifyLegal(String taxId, String vatNumber); | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
...main/java/it/pagopa/selfcare/external_api/model/nationalRegistries/LegalVerification.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package it.pagopa.selfcare.external_api.model.nationalRegistries; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class LegalVerification { | ||
private String resultCode; | ||
private String resultDetail; | ||
private Boolean verificationResult; | ||
} |
Oops, something went wrong.