Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftMtMx
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
swiftMtMx
Commits
9d8d296f
Commit
9d8d296f
authored
Jul 18, 2022
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成camt053001和提交properties文件
parent
65e80205
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
346 additions
and
40 deletions
+346
-40
Camt053001Parse25Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse25Field.java
+10
-1
Camt053001Parse60Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse60Field.java
+8
-8
Camt053001Parse61Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse61Field.java
+13
-3
Camt053001Parse62Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse62Field.java
+24
-14
Camt053001Parse64Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse64Field.java
+3
-3
Camt053001Parse65Field.java
...e/swift/mt2mx/camt053001/impl/Camt053001Parse65Field.java
+9
-7
Camt054001Parse25Field.java
...e/swift/mt2mx/camt054001/impl/Camt054001Parse25Field.java
+9
-0
AbstractMx2ElementCreator.java
...rilliance/swift/mx2element/AbstractMx2ElementCreator.java
+21
-0
Mx2ElementCreatorManager.java
...brilliance/swift/mx2element/Mx2ElementCreatorManager.java
+4
-1
Mx2ElementCamt054001Creator.java
...ft/mx2element/camt054001/Mx2ElementCamt054001Creator.java
+22
-0
camt05400108_900.properties
...e/src/main/resources/template/camt05400108_900.properties
+69
-0
camt05400108_910.properties
...e/src/main/resources/template/camt05400108_910.properties
+150
-0
Test.java
...ore/src/test/java/com/brilliance/mx2mtmap/mt950/Test.java
+4
-3
No files found.
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse25Field.java
View file @
9d8d296f
package
com
.
brilliance
.
swift
.
mt2mx
.
camt053001
.
impl
;
import
com.brilliance.swift.exception.SwiftException
;
import
com.brilliance.swift.mt2mx.Mt2MxContextIdentifier
;
import
com.brilliance.swift.mt2mx.camt053001.AbstractMt2MxCamt053001ParseField
;
import
com.prowidesoftware.swift.model.Tag
;
import
com.prowidesoftware.swift.model.field.Field25
;
...
...
@@ -32,11 +33,19 @@ public class Camt053001Parse25Field extends AbstractMt2MxCamt053001ParseField {
}
if
(
tag25
!=
null
){
field25
=
(
Field25
)
tag25
.
asField
();
mt_to_mxAccount35
(
field25
.
getValue
(),
acctMaps
,
"Ntfctn/Acct/Id/
Othr/Id
"
);
mt_to_mxAccount35
(
field25
.
getValue
(),
acctMaps
,
"Ntfctn/Acct/Id/
IBAN
"
);
}
if
(
tag25P
!=
null
){
field25P
=
(
Field25P
)
tag25P
.
asField
();
mt_to_mxAccount35
(
field25P
.
getValue
(),
acctMaps
,
"Ntfctn/Acct/Id/Othr/Id"
);
Map
<
String
,
Object
>
ownrMaps
=
new
HashMap
<>();
acctMaps
.
put
(
"ownr"
,
ownrMaps
);
Map
<
String
,
Object
>
idMaps
=
new
HashMap
<>();
ownrMaps
.
put
(
"id"
,
idMaps
);
Map
<
String
,
Object
>
orgIdMaps
=
new
HashMap
<>();
idMaps
.
put
(
"orgId"
,
orgIdMaps
);
String
sendBic
=
(
String
)
context
.
get
(
Mt2MxContextIdentifier
.
MT_SEND_BIC
,
true
);
orgIdMaps
.
put
(
"anyBIC"
,
sendBic
);
}
}
}
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse60Field.java
View file @
9d8d296f
...
...
@@ -54,10 +54,7 @@ public class Camt053001Parse60Field extends AbstractMt2MxCamt053001ParseField {
balMaps
.
put
(
"tp"
,
tpMaps
);
Map
<
String
,
Object
>
cdOrPrtryMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"cdOrPrtry"
,
cdOrPrtryMaps
);
Map
<
String
,
Object
>
subTpMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"subTp"
,
subTpMaps
);
subTpMaps
.
put
(
"cd"
,
BalanceSubTypeCode
.
INTM
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
OPBD
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
OPBD
.
value
());
Map
<
String
,
Object
>
dtMaps
=
null
;
if
(
balMaps
.
containsKey
(
"dt"
)){
dtMaps
=
(
Map
<
String
,
Object
>)
balMaps
.
get
(
"dt"
);
...
...
@@ -74,9 +71,9 @@ public class Camt053001Parse60Field extends AbstractMt2MxCamt053001ParseField {
}
if
(
field60F
!=
null
)
{
if
(
"D"
.
equals
(
field60F
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
DBIT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
if
(
"C"
.
equals
(
field60F
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
CRDT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
Date
date
=
DateUtil
.
parseDate
(
"20"
+
field60F
.
getDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
...
...
@@ -85,10 +82,13 @@ public class Camt053001Parse60Field extends AbstractMt2MxCamt053001ParseField {
amtMaps
.
put
(
"ccy"
,
field60F
.
getCurrency
());
}
if
(
field60M
!=
null
)
{
Map
<
String
,
Object
>
subTpMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"subTp"
,
subTpMaps
);
subTpMaps
.
put
(
"cd"
,
BalanceSubTypeCode
.
INTM
.
value
());
if
(
"D"
.
equals
(
field60M
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
DBIT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
if
(
"C"
.
equals
(
field60M
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
CRDT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
Date
date
=
DateUtil
.
parseDate
(
"20"
+
field60M
.
getDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse61Field.java
View file @
9d8d296f
...
...
@@ -6,6 +6,7 @@ import com.brilliance.swift.mt2mx.camt053001.AbstractMt2MxCamt053001ParseField;
import
com.brilliance.swift.util.DateUtil
;
import
com.brilliance.swift.util.StringUtil
;
import
com.brilliance.swift.vo.common.CdtDbtCode
;
import
com.brilliance.swift.vo.common.EntryStatusCode
;
import
com.prowidesoftware.swift.model.Tag
;
import
com.prowidesoftware.swift.model.field.Field60F
;
import
com.prowidesoftware.swift.model.field.Field60M
;
...
...
@@ -58,6 +59,12 @@ public class Camt053001Parse61Field extends AbstractMt2MxCamt053001ParseField {
stmtMaps
.
put
(
"ntry"
,
ntryJsonArray
);
ntryJsonArray
.
add
(
ntryMaps
);
}
Map
<
String
,
Object
>
bkTxCdMaps
=
new
HashMap
<>();
ntryMaps
.
put
(
"bkTxCd"
,
bkTxCdMaps
);
Map
<
String
,
Object
>
prtryMaps
=
new
HashMap
<>();
bkTxCdMaps
.
put
(
"prtry"
,
prtryMaps
);
prtryMaps
.
put
(
"cd"
,
"TXCD"
);
//TODO
if
(
field61
.
getValueDate
()!=
null
){
Map
<
String
,
Object
>
valDtMaps
=
new
HashMap
<>();
ntryMaps
.
put
(
"valDt"
,
valDtMaps
);
...
...
@@ -68,21 +75,24 @@ public class Camt053001Parse61Field extends AbstractMt2MxCamt053001ParseField {
if
(
field61
.
getEntryDate
()!=
null
){
Map
<
String
,
Object
>
bookgDtMaps
=
new
HashMap
<>();
ntryMaps
.
put
(
"bookgDt"
,
bookgDtMaps
);
Date
date
=
DateUtil
.
parseDate
(
"20
22"
+
field61
.
getEntryDate
(),
"yyyyMMdd"
);
Date
date
=
DateUtil
.
parseDate
(
"20
"
+
field61
.
getValueDate
().
substring
(
0
,
2
)
+
field61
.
getEntryDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
bookgDtMaps
.
put
(
"dt"
,
dateStr
);
}
Map
<
String
,
Object
>
stsDtMaps
=
new
HashMap
<>();
ntryMaps
.
put
(
"sts"
,
stsDtMaps
);
stsDtMaps
.
put
(
"cd"
,
EntryStatusCode
.
BOOK
.
value
());
if
(
field61
.
getDCMark
()!=
null
){
if
(
"RC"
.
equals
(
field61
.
getDCMark
())||
"D"
.
equals
(
field61
.
getDCMark
())){
if
(
"RC"
.
equals
(
field61
.
getDCMark
())){
ntryMaps
.
put
(
"rvslInd"
,
Boolean
.
TRUE
);
}
ntryMaps
.
put
(
"cdtDbtInd"
,
CdtDbtCode
.
DBIT
);
ntryMaps
.
put
(
"cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
{
if
(
"RD"
.
equals
(
field61
.
getDCMark
())){
ntryMaps
.
put
(
"rvslInd"
,
Boolean
.
TRUE
);
}
ntryMaps
.
put
(
"cdtDbtInd"
,
CdtDbtCode
.
CRDT
);
ntryMaps
.
put
(
"cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
}
if
(
field61
.
getAmount
()!=
null
){
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse62Field.java
View file @
9d8d296f
...
...
@@ -31,13 +31,13 @@ public class Camt053001Parse62Field extends AbstractMt2MxCamt053001ParseField {
Field62F
field62F
=
null
;
Field62M
field62M
=
null
;
AbstractMT
abstractMT
=
context
.
get
(
AbstractMT
.
class
);
Tag
tag6
0
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagByName
(
NAME_F
);
if
(
tag6
0
!=
null
)
{
field62F
=
(
Field62F
)
tag6
0
.
asField
();
Tag
tag6
2
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagByName
(
NAME_F
);
if
(
tag6
2
!=
null
)
{
field62F
=
(
Field62F
)
tag6
2
.
asField
();
}
tag6
0
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagByName
(
NAME_M
);
if
(
tag6
0
!=
null
)
{
field62M
=
(
Field62M
)
tag6
0
.
asField
();
tag6
2
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagByName
(
NAME_M
);
if
(
tag6
2
!=
null
)
{
field62M
=
(
Field62M
)
tag6
2
.
asField
();
}
Map
<
String
,
Object
>
balMaps
=
null
;
JSONArray
balJsonArray
=
null
;
...
...
@@ -55,10 +55,8 @@ public class Camt053001Parse62Field extends AbstractMt2MxCamt053001ParseField {
balMaps
.
put
(
"tp"
,
tpMaps
);
Map
<
String
,
Object
>
cdOrPrtryMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"cdOrPrtry"
,
cdOrPrtryMaps
);
Map
<
String
,
Object
>
subTpMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"subTp"
,
subTpMaps
);
subTpMaps
.
put
(
"cd"
,
BalanceSubTypeCode
.
INTM
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
CLBD
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
CLBD
.
value
());
Map
<
String
,
Object
>
dtMaps
=
null
;
if
(
balMaps
.
containsKey
(
"dt"
)){
dtMaps
=
(
Map
<
String
,
Object
>)
balMaps
.
get
(
"dt"
);
...
...
@@ -73,11 +71,19 @@ public class Camt053001Parse62Field extends AbstractMt2MxCamt053001ParseField {
amtMaps
=
new
HashMap
<>();
balMaps
.
put
(
"amt"
,
amtMaps
);
}
Map
<
String
,
Object
>
stmtPgntnMaps
=
null
;
if
(
stmtMaps
.
containsKey
(
"stmtPgntn"
))
{
stmtPgntnMaps
=
(
Map
<
String
,
Object
>)
stmtMaps
.
get
(
"stmtPgntn"
);
}
else
{
stmtPgntnMaps
=
new
HashMap
<>();
stmtMaps
.
put
(
"stmtPgntn"
,
stmtPgntnMaps
);
}
if
(
field62F
!=
null
)
{
stmtPgntnMaps
.
put
(
"lastPgInd"
,
Boolean
.
TRUE
);
if
(
"D"
.
equals
(
field62F
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
DBIT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
if
(
"C"
.
equals
(
field62F
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
CRDT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
Date
date
=
DateUtil
.
parseDate
(
"20"
+
field62F
.
getDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
...
...
@@ -86,10 +92,14 @@ public class Camt053001Parse62Field extends AbstractMt2MxCamt053001ParseField {
amtMaps
.
put
(
"ccy"
,
field62F
.
getCurrency
());
}
if
(
field62M
!=
null
)
{
stmtPgntnMaps
.
put
(
"lastPgInd"
,
Boolean
.
FALSE
);
Map
<
String
,
Object
>
subTpMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"subTp"
,
subTpMaps
);
subTpMaps
.
put
(
"cd"
,
BalanceSubTypeCode
.
INTM
.
value
());
if
(
"D"
.
equals
(
field62M
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
DBIT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
if
(
"C"
.
equals
(
field62M
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
CRDT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
Date
date
=
DateUtil
.
parseDate
(
"20"
+
field62M
.
getDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse64Field.java
View file @
9d8d296f
...
...
@@ -44,7 +44,7 @@ public class Camt053001Parse64Field extends AbstractMt2MxCamt053001ParseField {
balMaps
.
put
(
"tp"
,
tpMaps
);
Map
<
String
,
Object
>
cdOrPrtryMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"cdOrPrtry"
,
cdOrPrtryMaps
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
CLAV
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
CLAV
.
value
()
);
Map
<
String
,
Object
>
dtMaps
=
null
;
if
(
balMaps
.
containsKey
(
"dt"
)){
dtMaps
=
(
Map
<
String
,
Object
>)
balMaps
.
get
(
"dt"
);
...
...
@@ -60,9 +60,9 @@ public class Camt053001Parse64Field extends AbstractMt2MxCamt053001ParseField {
balMaps
.
put
(
"amt"
,
amtMaps
);
}
if
(
"D"
.
equals
(
field64
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
DBIT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
if
(
"C"
.
equals
(
field64
.
getDCMark
()))
{
balMaps
.
put
(
"
CdtDbtInd"
,
CdtDbtCode
.
CRDT
);
balMaps
.
put
(
"
cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
Date
date
=
DateUtil
.
parseDate
(
"20"
+
field64
.
getDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt053001/impl/Camt053001Parse65Field.java
View file @
9d8d296f
...
...
@@ -18,7 +18,7 @@ import java.util.Map;
public
class
Camt053001Parse65Field
extends
AbstractMt2MxCamt053001ParseField
{
private
static
final
String
NAME
_F
=
"65"
;
private
static
final
String
NAME
=
"65"
;
@Override
public
void
parseField
()
throws
SwiftException
{
...
...
@@ -27,9 +27,10 @@ public class Camt053001Parse65Field extends AbstractMt2MxCamt053001ParseField {
if
(
"950"
.
equals
(
abstractMT
.
getMessageType
())){
return
;
}
Tag
tag60
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagByName
(
NAME_F
);
if
(
tag60
!=
null
)
{
Field65
field65
=
(
Field65
)
tag60
.
asField
();
Tag
[]
tag65
=
abstractMT
.
getSwiftMessage
().
getBlock4
().
getTagsByName
(
NAME
);
if
(
tag65
.
length
>
0
)
{
for
(
int
i
=
0
;
i
<
tag65
.
length
;
i
++)
{
Field65
field65
=
(
Field65
)
tag65
[
i
].
asField
();
Map
<
String
,
Object
>
balMaps
=
null
;
JSONArray
balJsonArray
=
null
;
if
(
stmtMaps
.
containsKey
(
"bal"
)){
...
...
@@ -46,7 +47,7 @@ public class Camt053001Parse65Field extends AbstractMt2MxCamt053001ParseField {
balMaps
.
put
(
"tp"
,
tpMaps
);
Map
<
String
,
Object
>
cdOrPrtryMaps
=
new
HashMap
<>();
tpMaps
.
put
(
"cdOrPrtry"
,
cdOrPrtryMaps
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
FWAV
);
cdOrPrtryMaps
.
put
(
"cd"
,
BalanceTypeCode
.
FWAV
.
value
()
);
Map
<
String
,
Object
>
dtMaps
=
null
;
if
(
balMaps
.
containsKey
(
"dt"
)){
dtMaps
=
(
Map
<
String
,
Object
>)
balMaps
.
get
(
"dt"
);
...
...
@@ -62,9 +63,9 @@ public class Camt053001Parse65Field extends AbstractMt2MxCamt053001ParseField {
balMaps
.
put
(
"amt"
,
amtMaps
);
}
if
(
"D"
.
equals
(
field65
.
getDCMark
()))
{
balMaps
.
put
(
"CdtDbtInd"
,
CdtDbtCode
.
DBIT
);
balMaps
.
put
(
"cdtDbtInd"
,
CdtDbtCode
.
DBIT
.
value
()
);
}
else
if
(
"C"
.
equals
(
field65
.
getDCMark
()))
{
balMaps
.
put
(
"CdtDbtInd"
,
CdtDbtCode
.
CRDT
);
balMaps
.
put
(
"cdtDbtInd"
,
CdtDbtCode
.
CRDT
.
value
()
);
}
Date
date
=
DateUtil
.
parseDate
(
"20"
+
field65
.
getDate
(),
"yyyyMMdd"
);
String
dateStr
=
DateUtil
.
format
(
date
,
"yyyy-MM-dd"
);
...
...
@@ -72,6 +73,7 @@ public class Camt053001Parse65Field extends AbstractMt2MxCamt053001ParseField {
amtMaps
.
put
(
"value"
,
field65
.
amount
());
amtMaps
.
put
(
"ccy"
,
field65
.
getCurrency
());
}
}
}
catch
(
ParseException
e
)
{
throw
new
SwiftException
(
"ERROR"
,
e
.
getMessage
());
}
...
...
swiftCore/src/main/java/com/brilliance/swift/mt2mx/camt054001/impl/Camt054001Parse25Field.java
View file @
9d8d296f
package
com
.
brilliance
.
swift
.
mt2mx
.
camt054001
.
impl
;
import
com.brilliance.swift.exception.SwiftException
;
import
com.brilliance.swift.mt2mx.Mt2MxContextIdentifier
;
import
com.brilliance.swift.mt2mx.camt054001.AbstractMt2MxCamt054001ParseField
;
import
com.prowidesoftware.swift.model.Tag
;
import
com.prowidesoftware.swift.model.field.Field25
;
...
...
@@ -37,6 +38,14 @@ public class Camt054001Parse25Field extends AbstractMt2MxCamt054001ParseField {
if
(
tag25P
!=
null
){
field25P
=
(
Field25P
)
tag25P
.
asField
();
mt_to_mxAccount35
(
field25P
.
getValue
(),
acctMaps
,
"Ntfctn/Acct/Id/Othr/Id"
);
Map
<
String
,
Object
>
ownrMaps
=
new
HashMap
<>();
acctMaps
.
put
(
"ownr"
,
ownrMaps
);
Map
<
String
,
Object
>
idMaps
=
new
HashMap
<>();
ownrMaps
.
put
(
"id"
,
idMaps
);
Map
<
String
,
Object
>
orgIdMaps
=
new
HashMap
<>();
idMaps
.
put
(
"orgId"
,
orgIdMaps
);
String
sendBic
=
(
String
)
context
.
get
(
Mt2MxContextIdentifier
.
MT_SEND_BIC
,
true
);
orgIdMaps
.
put
(
"anyBIC"
,
sendBic
);
}
}
}
swiftCore/src/main/java/com/brilliance/swift/mx2element/AbstractMx2ElementCreator.java
View file @
9d8d296f
...
...
@@ -5,7 +5,12 @@ import com.alibaba.fastjson.JSONArray;
import
com.alibaba.fastjson.JSONObject
;
import
com.brilliance.swift.exception.SwiftException
;
import
com.brilliance.swift.util.StringUtil
;
import
com.brilliance.swift.util.XmlUtil
;
import
com.prowidesoftware.swift.model.mx.AbstractMX
;
import
com.prowidesoftware.swift.model.mx.dic.CreditDebitCode
;
import
org.dom4j.Document
;
import
org.dom4j.DocumentException
;
import
org.dom4j.DocumentHelper
;
import
java.io.BufferedReader
;
import
java.io.IOException
;
...
...
@@ -84,6 +89,22 @@ public abstract class AbstractMx2ElementCreator implements Mx2ElementCreator{
String
gsonStr
=
abstractMX
.
toJson
();
Map
<
String
,
Object
>
mxGsonMaps
=
JSON
.
parseObject
(
gsonStr
);
String
fileName
=
"/template/"
+
messageType
+
".properties"
;
if
(
"camt05400108"
.
equals
(
messageType
)){
try
{
Document
document
=
DocumentHelper
.
parseText
(
xmlStr
);
Map
<
String
,
String
>
parentElementMaps
=
XmlUtil
.
getParentElementMaps
(
document
);
String
bodyParentPath
=
parentElementMaps
.
get
(
"Ntfctn"
);
String
cdtDbtInd
=
XmlUtil
.
getXmlNodeValue
(
document
,
bodyParentPath
+
".Ntfctn.Ntry.CdtDbtInd"
);
if
(
CreditDebitCode
.
CRDT
.
value
().
equals
(
cdtDbtInd
)){
fileName
=
"/template/"
+
messageType
+
"_910.properties"
;
}
if
(
CreditDebitCode
.
DBIT
.
value
().
equals
(
cdtDbtInd
)){
fileName
=
"/template/"
+
messageType
+
"_900.properties"
;
}
}
catch
(
DocumentException
e
)
{
throw
new
SwiftException
(
e
.
getMessage
());
}
}
InputStream
resourceAsStream
=
AbstractMx2ElementCreator
.
class
.
getResourceAsStream
(
fileName
);
if
(
resourceAsStream
==
null
)
{
int
versionLength
=
abstractMX
.
getMxId
().
getVersion
().
length
();
...
...
swiftCore/src/main/java/com/brilliance/swift/mx2element/Mx2ElementCreatorManager.java
View file @
9d8d296f
package
com
.
brilliance
.
swift
.
mx2element
;
import
com.brilliance.swift.exception.SwiftException
;
import
com.brilliance.swift.mx2element.camt054001.Mx2ElementCamt054001Creator
;
import
com.brilliance.swift.mx2element.pacs008001.Mx2ElementPacs008001Creator
;
import
com.google.gson.Gson
;
import
com.google.gson.GsonBuilder
;
...
...
@@ -31,7 +32,9 @@ public class Mx2ElementCreatorManager {
public
AbstractMx2ElementCreator
getCreator
(
String
messageType
)
{
if
(
"pacs.008.001"
.
equals
(
messageType
))
{
return
new
Mx2ElementPacs008001Creator
();
}
else
{
}
else
if
(
"camt.054.001"
.
equals
(
messageType
)){
return
new
Mx2ElementCamt054001Creator
();
}
else
{
throw
new
SwiftException
(
"Invalid message type"
);
}
}
...
...
swiftCore/src/main/java/com/brilliance/swift/mx2element/camt054001/Mx2ElementCamt054001Creator.java
0 → 100644
View file @
9d8d296f
package
com
.
brilliance
.
swift
.
mx2element
.
camt054001
;
import
com.brilliance.swift.exception.SwiftException
;
import
com.brilliance.swift.mx2element.AbstractMx2ElementCreator
;
import
com.brilliance.swift.util.StringUtil
;
import
com.brilliance.swift.util.XmlUtil
;
import
org.dom4j.Document
;
import
org.dom4j.DocumentException
;
import
org.dom4j.DocumentHelper
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Map
;
public
class
Mx2ElementCamt054001Creator
extends
AbstractMx2ElementCreator
{
@Override
public
Map
<
String
,
Object
>
buildElement
()
{
return
super
.
buildElement
();
}
}
swiftCore/src/main/resources/template/camt05400108_900.properties
0 → 100644
View file @
9d8d296f
#APPLICATION HEADER
frBic
=
appHdr.fr.fiId.finInstnId.bicfi?appHdr.fr.orgId.id.orgId.anyBIC
toBic
=
appHdr.to.fiId.finInstnId.bicfi?appHdr.to.orgId.id.orgId.anyBIC
bizMsgIdr
=
bkToCstmrDbtCdtNtfctn.ntfctn.id?bkToCstmrDbtCdtNtfctn.grpHdr.msgId?appHdr.bizMsgIdr
msgDefIdr
=
appHdr.msgDefIdr
bizSvc
=
appHdr.bizSvc
creDt
=
bkToCstmrDbtCdtNtfctn.grpHdr.creDtTm?appHdr.creDt
priority
=
appHdr.prty
#BODY
#13
bookgDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.bookgDt.dtTm
IntrBkSttlmDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdDts.intrBkSttlmDt
#21
endToEndId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.refs.endToEndId
instrId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.refs.instrId
#25
ntfctnAcctIdIban
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.iban
ntfctnAcctId
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.othr.id
ntfctnAcctIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.othr.schmeNm.cd?bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.othr.schmeNm.prtry
ntfctnAcctType
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.tp.cd?bkToCstmrDbtCdtNtfctn.ntfctn.acct.tp.prtry
ntfctnAcctCcy
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.ccy
ntfctnAcctNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.nm
ntfctnAcctOwnerAnyBIC
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.Ownr.Id.OrgId.AnyBIC
#32
valDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.valDt.dt
ntryAmt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.amt.value&bigdecimal
ntryCcy
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.amt.ccy
#52
dbtrAgtBicfi
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.bicfi?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.bicfi
dbtrAgtClrSysId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.clrSysMmbId.mmbId?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.clrSysMmbId.mmbId
dbtrAgtClrSysIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.clrSysMmbId.clrSysId.cd?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.clrSysMmbId.clrSysId.cd
dbtrAgtClrSysIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.clrSysMmbId.clrSysId.prtry?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.clrSysMmbId.clrSysId.prtry
dbtrAgtLei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.lei?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.lei
dbtrAgtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.nm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.nm
dbtrAgtPstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.adrTp.cd?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.adrTp.cd
dbtrAgtPstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.ctry?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.ctry
dbtrAgtPstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.dept?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.dept
dbtrAgtPstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.subDept?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.subDept
dbtrAgtPstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.strtNm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.strtNm
dbtrAgtPstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.bldgNb?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.bldgNb
dbtrAgtPstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.bldgNm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.bldgNm
dbtrAgtPstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.flr?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.flr
dbtrAgtPstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.room?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.room
dbtrAgtPstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.twnNm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.twnNm
dbtrAgtPstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.pstBx?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.pstBx
dbtrAgtPstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.pstCd?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.pstCd
dbtrAgtAdrLines
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.pstlAdr.adrLine?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.adrLine
dbtrAgtOthrId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.othr.id?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.othr.id
dbtrAgtOthrIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.othr.schmeNm.cd?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.othr.schmeNm.cd
dbtrAgtOthrIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.finInstnId.othr.schmeNm.prtry?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.othr.schmeNm.prtry
dbtrAgtBrnchId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.id?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.id
dbtrAgtBrnchLei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.lei?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.lei
dbtrAgtBrnchNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.nm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.nm
dbtrAgtBrnchPstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.adrTp.cd?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.adrTp.cd
dbtrAgtBrnchPstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.ctry?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.ctry
dbtrAgtBrnchPstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.dept?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.dept
dbtrAgtBrnchPstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.subDept?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.subDept
dbtrAgtBrnchPstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.strtNm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.strtNm
dbtrAgtBrnchPstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.bldgNb?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.bldgNb
dbtrAgtBrnchPstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.bldgNm?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.bldgNm
dbtrAgtBrnchPstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.flr?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.flr
dbtrAgtBrnchPstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.room?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.room
dbtrAgtBrnchPstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.twnNm?kToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.twnNm
dbtrAgtBrnchPstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.pstBx?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.pstBx
dbtrAgtBrnchPstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.dbtrAgt.brnchId.pstlAdr.pstCd?bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.pstCd
#72
addtlTxInf
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.addtlTxInf
swiftCore/src/main/resources/template/camt05400108_910.properties
0 → 100644
View file @
9d8d296f
#APPLICATION HEADER
frBic
=
appHdr.fr.fiId.finInstnId.bicfi?appHdr.fr.orgId.id.orgId.anyBIC
toBic
=
appHdr.to.fiId.finInstnId.bicfi?appHdr.to.orgId.id.orgId.anyBIC
bizMsgIdr
=
bkToCstmrDbtCdtNtfctn.ntfctn.id?bkToCstmrDbtCdtNtfctn.grpHdr.msgId?appHdr.bizMsgIdr
msgDefIdr
=
appHdr.msgDefIdr
bizSvc
=
appHdr.bizSvc
creDt
=
bkToCstmrDbtCdtNtfctn.grpHdr.creDtTm?appHdr.creDt
priority
=
appHdr.prty
cdtDbtInd
=
#BODY
#13
bookgDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.bookgDt.dtTm
intrBkSttlmDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdDts.intrBkSttlmDt
#21
endToEndId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.refs.endToEndId
instrId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.refs.instrId
#25
ntfctnAcctIdIban
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.iban
ntfctnAcctId
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.othr.id
ntfctnAcctIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.othr.schmeNm.cd?bkToCstmrDbtCdtNtfctn.ntfctn.acct.id.othr.schmeNm.prtry
ntfctnAcctType
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.tp.cd?bkToCstmrDbtCdtNtfctn.ntfctn.acct.tp.prtry
ntfctnAcctCcy
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.ccy
ntfctnAcctNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.nm
ntfctnAcctOwnerAnyBIC
=
bkToCstmrDbtCdtNtfctn.ntfctn.acct.Ownr.Id.OrgId.AnyBIC
#32
valDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.valDt.dt
ntryAmt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.amt.value&bigdecimal
ntryCcy
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.amt.ccy
#50
dbtrPtyNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.nm
dbtrPtyOrgAnyBIC
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.orgId.anyBIC
dbtrPtyOrgLei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.orgId.lei
dbtrPtyOrgOthrId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.orgId.othr.id
dbtrPtyOrgOthrIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.orgId.othr.schmeNm.cd
dbtrPtyOrgOthrIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.orgId.othr.schmeNm.prtry
dbtrPtyPrvtBirthDt
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.dtAndPlcOfBirth.birthDt
dbtrPtyPrvtPrvcOfBirth
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.dtAndPlcOfBirth.prvcOfBirth
dbtrPtyPrvtCityOfBirth
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.dtAndPlcOfBirth.cityOfBirth
dbtrPtyPrvtCtryOfBirth
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.dtAndPlcOfBirth.ctryOfBirth
dbtrPtyPrvtId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.othr.id
dbtrPtyPrvtIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.othr.schmeNm.cd
dbtrPtyPrvtIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.id.prvtId.othr.schmeNm.prtry
dbtrPtyCtryOfRes
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.ctryOfRes
dbtrPtyPstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.adrTp.cd
dbtrPtyPstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.ctry
dbtrPtyPstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.dept
dbtrPtyPstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.subDept
dbtrPtyPstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.strtNm
dbtrPtyPstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.bldgNb
dbtrPtyPstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.bldgNm
dbtrPtyPstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.flr
dbtrPtyPstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.room
dbtrPtyPstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.twnNm
dbtrPtyPstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.pstBx
dbtrPtyPstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.pstCd
dbtrPtyAdrLines
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.pstlAdr.adrLine
dbtrPtyPhneNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.ctctDtls.phneNb
dbtrPtyMobNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.ctctDtls.mobNb
dbtrPtyFaxNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.ctctDtls.faxNb
dbtrPtyEmailAdr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.pty.ctctDtls.emailAdr
dbtrPtyAcctIdIban
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.id.iban
dbtrPtyAcctId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.id.othr.id
dbtrPtyAcctIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.id.othr.schmeNm.cd
dbtrPtyAcctIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.id.othr.schmeNm.prtry
dbtrPtyAcctType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.tp.cd
dbtrPtyAcctTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.tp.prtry
dbtrPtyAcctCcy
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.ccy
dbtrPtyAcctNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.ptyAcct.nm
dbtrAgtBicfi
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.bicfi
dbtrAgtClrSysId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.clrSysMmbId.mmbId
dbtrAgtClrSysIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.clrSysMmbId.clrSysId.cd
dbtrAgtClrSysIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.clrSysMmbId.clrSysId.prtry
dbtrAgtLei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.lei
dbtrAgtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.nm
dbtrAgtPstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.adrTp.cd
dbtrAgtPstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.ctry
dbtrAgtPstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.dept
dbtrAgtPstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.subDept
dbtrAgtPstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.strtNm
dbtrAgtPstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.bldgNb
dbtrAgtPstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.bldgNm
dbtrAgtPstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.flr
dbtrAgtPstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.room
dbtrAgtPstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.twnNm
dbtrAgtPstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.pstBx
dbtrAgtPstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.pstCd
dbtrAgtAdrLines
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.pstlAdr.adrLine
dbtrAgtOthrId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.othr.id
dbtrAgtOthrIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.othr.schmeNm.cd
dbtrAgtOthrIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.finInstnId.othr.schmeNm.prtry
dbtrAgtBrnchId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.id
dbtrAgtBrnchLei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.lei
dbtrAgtBrnchNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.nm
dbtrAgtBrnchPstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.adrTp.cd
dbtrAgtBrnchPstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.ctry
dbtrAgtBrnchPstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.dept
dbtrAgtBrnchPstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.subDept
dbtrAgtBrnchPstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.strtNm
dbtrAgtBrnchPstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.bldgNb
dbtrAgtBrnchPstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.bldgNm
dbtrAgtBrnchPstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.flr
dbtrAgtBrnchPstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.room
dbtrAgtBrnchPstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.twnNm
dbtrAgtBrnchPstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.pstBx
dbtrAgtBrnchPstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdPties.dbtr.agt.brnchId.pstlAdr.pstCd
#52
#56
intrmyAgt1Bicfi
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.bicfi
intrmyAgt1ClrSysId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.clrSysMmbId.mmbId
intrmyAgt1ClrSysIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.clrSysMmbId.clrSysId.cd
intrmyAgt1ClrSysIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.clrSysMmbId.clrSysId.prtry
intrmyAgt1Lei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.lei
intrmyAgt1Nm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.nm
intrmyAgt1PstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.adrTp.cd
intrmyAgt1PstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.ctry
intrmyAgt1PstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.dept
intrmyAgt1PstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.subDept
intrmyAgt1PstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.strtNm
intrmyAgt1PstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.bldgNb
intrmyAgt1PstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.bldgNm
intrmyAgt1PstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.flr
intrmyAgt1PstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.room
intrmyAgt1PstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.twnNm
intrmyAgt1PstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.pstBx
intrmyAgt1PstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.pstCd
intrmyAgt1AdrLines
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.pstlAdr.adrLine
intrmyAgt1OthrId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.othr.id
intrmyAgt1OthrIdType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.othr.schmeNm.cd
intrmyAgt1OthrIdTypePrtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.finInstnId.othr.schmeNm.prtry
intrmyAgt1BrnchId
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.id
intrmyAgt1BrnchLei
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.lei
intrmyAgt1BrnchNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.nm
intrmyAgt1BrnchPstlAdrType
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.adrTp.cd
intrmyAgt1BrnchPstlAdrCtry
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.ctry
intrmyAgt1BrnchPstlAdrDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.dept
intrmyAgt1BrnchPstlAdrSubDept
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.subDept
intrmyAgt1BrnchPstlAdrStrtNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.strtNm
intrmyAgt1BrnchPstlAdrBldgNb
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.bldgNb
intrmyAgt1BrnchPstlAdrBldgNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.bldgNm
intrmyAgt1BrnchPstlAdrFlr
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.flr
intrmyAgt1BrnchPstlAdrRoom
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.room
intrmyAgt1BrnchPstlAdrTwnNm
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.twnNm
intrmyAgt1BrnchPstlAdrPstBx
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.pstBx
intrmyAgt1BrnchPstlAdrPstCd
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.pstCd
intrmyAgt1BrnchAdrLines
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.rltdAgts.intrmyAgt1.brnchId.pstlAdr.adrLine
#72
addtlTxInf
=
bkToCstmrDbtCdtNtfctn.ntfctn.ntry.ntryDtls.txDtls.addtlTxInf
swiftCore/src/test/java/com/brilliance/mx2mtmap/mt950/Test.java
View file @
9d8d296f
...
...
@@ -10,8 +10,9 @@ import java.util.Map;
public
class
Test
{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
String
xmlStr
=
FileUtils
.
readFileToString
(
new
File
(
System
.
getProperty
(
"user.dir"
)
+
"\\swiftCore\\src\\main\\resources\\swiftXml\\MxCamt05300108_950.xml"
));
Map
<
String
,
String
>
maps
=
SwiftTransfer
.
mx2Map
(
xmlStr
);
maps
.
forEach
((
k
,
v
)
->
System
.
out
.
println
(
k
+
":"
+
v
));
String
xmlStr
=
FileUtils
.
readFileToString
(
new
File
(
System
.
getProperty
(
"user.dir"
)
+
"\\swiftCore\\src\\main\\resources\\swiftXml\\camt05300108_940.xml"
));
/*Map<String, String> maps = SwiftTransfer.mx2Map(xmlStr);
maps.forEach((k, v) -> System.out.println(k + ":" + v));*/
SwiftTransfer
.
validateMx
(
xmlStr
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment