Skip to content

Commit

Permalink
fix: added missing mapping for Checkout object on description and com…
Browse files Browse the repository at this point in the history
…pany name
  • Loading branch information
andrea-deri committed Apr 18, 2024
1 parent 51f4fec commit 78af125
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private List<it.gov.pagopa.gen.wispconverter.client.gpd.model.PaymentPositionMod
.noticeNumber(noticeNumber)
.fiscalCode(firstRPTContentDTO.getRpt().getDomain().getDomainId())
.companyName(firstRPTContentDTO.getRpt().getPayeeInstitution().getName())
.description("") //
.description(firstRPTContentDTO.getRpt().getTransferData().getTransfer().get(0).getRemittanceInformation())
.amount(amount)
.build());

Expand Down Expand Up @@ -164,6 +164,8 @@ private List<it.gov.pagopa.gen.wispconverter.client.gpd.model.PaymentPositionMod
.iuv(paymentOption.getIuv())
.noticeNumber(noticeNumber)
.fiscalCode(paymentRequestDTO.getDomain().getDomainId())
.companyName(paymentRequestDTO.getPayeeInstitution().getName())
.description(paymentRequestDTO.getTransferData().getTransfer().get(0).getRemittanceInformation())
.amount(amount)
.build());
}
Expand Down

0 comments on commit 78af125

Please sign in to comment.