diff --git a/pom.xml b/pom.xml index 4183cb5..8aca81e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.rbkmoney adapter-bank-payout-spring-boot-starter - 0.0.7-SNAPSHOT + 0.0.8-SNAPSHOT jar Adapter-bank-payout-spring-boot-starter diff --git a/src/main/java/com/rbkmoney/adapter/bank/payout/spring/boot/starter/service/IntentServiceImpl.java b/src/main/java/com/rbkmoney/adapter/bank/payout/spring/boot/starter/service/IntentServiceImpl.java index d9cfca3..ef1f262 100644 --- a/src/main/java/com/rbkmoney/adapter/bank/payout/spring/boot/starter/service/IntentServiceImpl.java +++ b/src/main/java/com/rbkmoney/adapter/bank/payout/spring/boot/starter/service/IntentServiceImpl.java @@ -27,7 +27,10 @@ public class IntentServiceImpl implements IntentService { } public Intent getSuccess(ExitStateModel exitStateModel) { - return Intent.finish(new FinishIntent(FinishStatus.success(new Success(new TransactionInfo().setId(exitStateModel.getNextState().getTrxInfo().getTrxId()))))); + com.rbkmoney.adapter.bank.payout.spring.boot.starter.model.TransactionInfo trxInfo = exitStateModel.getNextState().getTrxInfo(); + return Intent.finish(new FinishIntent(FinishStatus.success(new Success(new TransactionInfo() + .setId(trxInfo.getTrxId()) + .setExtra(trxInfo.getTrxExtra()))))); } public Intent getSleep(ExitStateModel exitStateModel) {