mirror of
https://github.com/valitydev/adapter-flow-lib.git
synced 2024-11-06 00:05:22 +00:00
Fix trx (#14)
This commit is contained in:
parent
6cd73e98f9
commit
9660ae04a6
2
pom.xml
2
pom.xml
@ -13,7 +13,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>adapter-flow-lib</artifactId>
|
<artifactId>adapter-flow-lib</artifactId>
|
||||||
<version>0.0.9</version>
|
<version>0.0.10</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>adapter-flow-lib</name>
|
<name>adapter-flow-lib</name>
|
||||||
|
@ -37,8 +37,7 @@ public class ExitModelToProxyResultConverter implements Converter<ExitStateModel
|
|||||||
.setNextState(serializer.writeByte(contextConverter.convert(exitStateModel)))
|
.setNextState(serializer.writeByte(contextConverter.convert(exitStateModel)))
|
||||||
.setTrx(
|
.setTrx(
|
||||||
new TransactionInfo()
|
new TransactionInfo()
|
||||||
.setId(String.valueOf(
|
.setId(String.valueOf(exitStateModel.getProviderTrxId()))
|
||||||
exitStateModel.getEntryStateModel().getBaseRequestModel().getPaymentId()))
|
|
||||||
.setExtra(exitStateModel.getTrxExtra() != null
|
.setExtra(exitStateModel.getTrxExtra() != null
|
||||||
? exitStateModel.getTrxExtra()
|
? exitStateModel.getTrxExtra()
|
||||||
: new HashMap<>())
|
: new HashMap<>())
|
||||||
|
@ -38,8 +38,7 @@ public class ExitModelToRecTokenProxyResultConverter implements Converter<ExitSt
|
|||||||
.setNextState(serializer.writeByte(contextConverter.convert(exitStateModel)))
|
.setNextState(serializer.writeByte(contextConverter.convert(exitStateModel)))
|
||||||
.setTrx(
|
.setTrx(
|
||||||
new TransactionInfo()
|
new TransactionInfo()
|
||||||
.setId(String.valueOf(
|
.setId(String.valueOf(exitStateModel.getProviderTrxId()))
|
||||||
exitStateModel.getEntryStateModel().getBaseRequestModel().getPaymentId()))
|
|
||||||
.setExtra(exitStateModel.getTrxExtra() != null
|
.setExtra(exitStateModel.getTrxExtra() != null
|
||||||
? exitStateModel.getTrxExtra()
|
? exitStateModel.getTrxExtra()
|
||||||
: new HashMap<>())
|
: new HashMap<>())
|
||||||
|
Loading…
Reference in New Issue
Block a user