This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SELC-5227 feat: added Infocamere PDND API call in party-registry client
- Loading branch information
Showing
8 changed files
with
120 additions
and
5 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
19 changes: 19 additions & 0 deletions
19
.../src/main/java/it/pagopa/selfcare/mscore/model/institution/InfocamerePdndInstitution.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,19 @@ | ||
package it.pagopa.selfcare.mscore.model.institution; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class InfocamerePdndInstitution { | ||
private String businessTaxId; | ||
private String businessName; | ||
private String legalNature; | ||
private String legalNatureDescription; | ||
private String cciaa; | ||
private String nRea; | ||
private String businessStatus; | ||
private String city; | ||
private String county; | ||
private String zipCode; | ||
private String address; | ||
private String digitalAddress; | ||
} |
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
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
10 changes: 10 additions & 0 deletions
10
.../rest/src/main/java/it/pagopa/selfcare/mscore/connector/rest/mapper/InfocamereMapper.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.mscore.connector.rest.mapper; | ||
|
||
import it.pagopa.selfcare.mscore.connector.rest.model.InfocamerePdndResponse; | ||
import it.pagopa.selfcare.mscore.model.institution.InfocamerePdndInstitution; | ||
import org.mapstruct.Mapper; | ||
|
||
@Mapper(componentModel = "spring") | ||
public interface InfocamereMapper { | ||
InfocamerePdndInstitution toInstitution(InfocamerePdndResponse response); | ||
} |
19 changes: 19 additions & 0 deletions
19
.../src/main/java/it/pagopa/selfcare/mscore/connector/rest/model/InfocamerePdndResponse.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,19 @@ | ||
package it.pagopa.selfcare.mscore.connector.rest.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class InfocamerePdndResponse { | ||
private String businessTaxId; | ||
private String businessName; | ||
private String legalNature; | ||
private String legalNatureDescription; | ||
private String cciaa; | ||
private String nRea; | ||
private String businessStatus; | ||
private String city; | ||
private String county; | ||
private String zipCode; | ||
private String address; | ||
private String digitalAddress; | ||
} |
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
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