Skip to content

Commit

Permalink
feat: adding psp business name to CDI PAGOPA-1153
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoRuzzier committed Aug 22, 2023
1 parent e00eb54 commit 260733b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/it/gov/pagopa/afm/utils/entity/CDI.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class CDI {
private String abi;
private Boolean digitalStamp;
private String validityDateFrom;
private String pspBusinessName;
private List<Detail> details;

// internal management field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ public class BundleRequest implements Serializable {
private List<String> transferCategoryList;
private LocalDate validityDateFrom;
private LocalDate validityDateTo;
private String pspBusinessName;
}
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public List<BundleRequest> createBundlesByCDI(CDI cdi) {
bundleRequest.setIdCdi(cdi.getIdCdi());
bundleRequest.setAbi(cdi.getAbi());
bundleRequest.setDigitalStamp(cdi.getDigitalStamp());
bundleRequest.setPspBusinessName(cdi.getPspBusinessName());
bundleRequest.setDigitalStampRestriction(Boolean.FALSE);
bundleRequest.setType(BundleType.GLOBAL);
bundleRequest.setTransferCategoryList(null);
Expand Down

0 comments on commit 260733b

Please sign in to comment.