-
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.
fix: removed circuitBreaker and retry and ignore properties for PDNDI…
…mpresa
- Loading branch information
1 parent
7ea8867
commit 4a2aa27
Showing
4 changed files
with
211 additions
and
259 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
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
54 changes: 29 additions & 25 deletions
54
...c/main/java/it/pagopa/selfcare/party/registry_proxy/connector/rest/model/PDNDImpresa.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,44 +1,48 @@ | ||
package it.pagopa.selfcare.party.registry_proxy.connector.rest.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Data; | ||
|
||
@Data | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class PDNDImpresa { | ||
|
||
@JsonProperty("ProgressivoImpresa") | ||
private long progressivoImpresa; | ||
@JsonProperty("ProgressivoImpresa") | ||
private long progressivoImpresa; | ||
|
||
@JsonProperty("CodiceFiscale") | ||
private String businessTaxId; | ||
@JsonProperty("CodiceFiscale") | ||
private String businessTaxId; | ||
|
||
@JsonProperty("Denominazione") | ||
private String businessName; | ||
@JsonProperty("Denominazione") | ||
private String businessName; | ||
|
||
@JsonProperty("NaturaGiuridica") | ||
private String legalNature; | ||
@JsonProperty("NaturaGiuridica") | ||
private String legalNature; | ||
|
||
@JsonProperty("DescNaturaGiuridica") | ||
private String legalNatureDescription; | ||
@JsonProperty("DescNaturaGiuridica") | ||
private String legalNatureDescription; | ||
|
||
@JsonProperty("Cciaa") | ||
private String cciaa; | ||
@JsonProperty("Cciaa") | ||
private String cciaa; | ||
|
||
@JsonProperty("NRea") | ||
private String nRea; | ||
@JsonProperty("NRea") | ||
private String nRea; | ||
|
||
@JsonProperty("StatoImpresa") | ||
private String businessStatus; | ||
@JsonProperty("StatoImpresa") | ||
private String businessStatus; | ||
|
||
@JsonProperty("IndirizzoSedeLegale") | ||
private PDNDSedeImpresa businessAddress; | ||
@JsonProperty("IndirizzoSedeLegale") | ||
private PDNDSedeImpresa businessAddress; | ||
|
||
@JsonProperty("PEC") | ||
private String digitalAddress; | ||
|
||
|
||
public String getAddress() { | ||
return businessAddress.getToponimoSede() + " " + businessAddress.getViaSede() + " " + businessAddress.getNcivicoSede(); | ||
} | ||
@JsonProperty("PEC") | ||
private String digitalAddress; | ||
|
||
public String getAddress() { | ||
return businessAddress.getToponimoSede() | ||
+ " " | ||
+ businessAddress.getViaSede() | ||
+ " " | ||
+ businessAddress.getNcivicoSede(); | ||
} | ||
} |
Oops, something went wrong.