Skip to content

Commit

Permalink
GOV-564: add new column sub batch id (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadasfynarfin authored Sep 11, 2023
1 parent f658028 commit a544fdc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/hu/dpc/phee/operator/entity/transfer/Transfer.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ public class Transfer extends AbstractPersistableCustom<Long> {
@Column(name = "BATCH_ID")
private String batchId;

@Column(name = "SUB_BATCH_ID")
private String subBatchId;

@Column(name = "CLIENTCORRELATIONID")
private String clientCorrelationId;

Expand Down Expand Up @@ -265,6 +268,14 @@ public void setBatchId(String batchId) {
this.batchId = batchId;
}

public String getSubBatchId() {
return subBatchId;
}

public void setSubBatchId(String subBatchId) {
this.subBatchId = subBatchId;
}

public String getClientCorrelationId() {
return clientCorrelationId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public VariableParser() {
parseTransferCreateFailed(pair.getFirst(), pair.getSecond());
});
transferParsers.put("batchId", pair -> pair.getFirst().setBatchId(strip(pair.getSecond())));
transferParsers.put("subBatchId", pair -> pair.getFirst().setSubBatchId(strip(pair.getSecond())));
transferParsers.put("clientCorrelationId", pair -> parseClientCorrelationIdTransfers(pair.getFirst(), pair.getSecond()));

transactionRequestParsers.put("authType", pair -> pair.getFirst().setAuthType(strip(pair.getSecond())));
Expand Down

0 comments on commit a544fdc

Please sign in to comment.