This commit is contained in:
struga 2022-03-09 12:17:16 +03:00 committed by GitHub
parent 6cd73e98f9
commit 9660ae04a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

@ -13,7 +13,7 @@
</parent>
<artifactId>adapter-flow-lib</artifactId>
<version>0.0.9</version>
<version>0.0.10</version>
<packaging>jar</packaging>
<name>adapter-flow-lib</name>

View File

@ -37,8 +37,7 @@ public class ExitModelToProxyResultConverter implements Converter<ExitStateModel
.setNextState(serializer.writeByte(contextConverter.convert(exitStateModel)))
.setTrx(
new TransactionInfo()
.setId(String.valueOf(
exitStateModel.getEntryStateModel().getBaseRequestModel().getPaymentId()))
.setId(String.valueOf(exitStateModel.getProviderTrxId()))
.setExtra(exitStateModel.getTrxExtra() != null
? exitStateModel.getTrxExtra()
: new HashMap<>())

View File

@ -38,8 +38,7 @@ public class ExitModelToRecTokenProxyResultConverter implements Converter<ExitSt
.setNextState(serializer.writeByte(contextConverter.convert(exitStateModel)))
.setTrx(
new TransactionInfo()
.setId(String.valueOf(
exitStateModel.getEntryStateModel().getBaseRequestModel().getPaymentId()))
.setId(String.valueOf(exitStateModel.getProviderTrxId()))
.setExtra(exitStateModel.getTrxExtra() != null
? exitStateModel.getTrxExtra()
: new HashMap<>())