Add extra map to parameters (#75)

This commit is contained in:
struga 2024-01-25 16:37:23 +07:00 committed by GitHub
parent 21442408e5
commit 8beec311ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

View File

@ -12,7 +12,7 @@
</parent>
<artifactId>adapter-flow-lib</artifactId>
<version>0.2.2</version>
<version>0.2.3</version>
<packaging>jar</packaging>
<name>adapter-flow-lib</name>
@ -46,19 +46,18 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<woody.version>1.0.4</woody.version>
<bender-proto.version>1.20-be9cdeb</bender-proto.version>
<damsel.version>1.563-d384c12</damsel.version>
<damsel.version>1.614-3df747f</damsel.version>
<apache.commons.lang3.version>3.12.0</apache.commons.lang3.version>
<apache.commons.codec.version>1.15</apache.commons.codec.version>
<slf4j.version>1.7.36</slf4j.version>
<lombok.version>1.18.24</lombok.version>
<logback.version>1.2.11</logback.version>
<logstash-logback-encoder.version>7.1.1</logstash-logback-encoder.version>
<jackson.version>2.13.2</jackson.version>
<jackson.version>2.14.0</jackson.version>
<junit-jupiter-engine.version>5.8.2</junit-jupiter-engine.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
<validation-api.version>2.0.1.Final</validation-api.version>
<jackson.version>2.11.2</jackson.version>
<spring.version>5.3.19</spring.version>
<spring-boot-starter.version>2.6.7</spring-boot-starter.version>
<cds-proto.version>1.66-01353ce</cds-proto.version>

View File

@ -5,6 +5,8 @@ import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.util.Map;
@Data
@SuperBuilder
@NoArgsConstructor
@ -13,5 +15,6 @@ public class AdditionalTrxInfo {
private String rrn;
private String approvalCode;
private Map<String, String> extraInfo;
}

View File

@ -9,7 +9,8 @@ public class AdditionalInfoUtils {
if (exitStateModel.getAdditionalTrxInfo() != null) {
return new AdditionalTransactionInfo()
.setRrn(exitStateModel.getAdditionalTrxInfo().getRrn())
.setApprovalCode(exitStateModel.getAdditionalTrxInfo().getApprovalCode());
.setApprovalCode(exitStateModel.getAdditionalTrxInfo().getApprovalCode())
.setExtraPaymentInfo(exitStateModel.getAdditionalTrxInfo().getExtraInfo());
}
return null;
}