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
8024bf05
Commit
8024bf05
authored
Apr 08, 2022
by
chengzhuoshen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
template and xml
parent
fc92d441
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
98 additions
and
181 deletions
+98
-181
MxCamt05400102_CREDIT.xml
src/main/resources/swiftXml/MxCamt05400102_CREDIT.xml
+28
-6
MxCamt05400102_DEBIT.xml
src/main/resources/swiftXml/MxCamt05400102_DEBIT.xml
+0
-0
MxPacs00900102.xml
src/main/resources/swiftXml/MxPacs00900102.xml
+0
-0
MxPacs00900102_COV.xml
src/main/resources/swiftXml/MxPacs00900102_COV.xml
+0
-0
swift_mt_202cov.vm
src/main/resources/template/swift_mt_202cov.vm
+67
-172
swift_mt_900_910.vm
src/main/resources/template/swift_mt_900_910.vm
+3
-3
No files found.
src/main/resources/swiftXml/MxCamt05400102_CREDIT.xml
View file @
8024bf05
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document
xmlns=
"urn:iso:std:iso:20022:tech:xsd:camt.054.001.02"
>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Envelope
xmlns=
"urn:swift:xsd:envelope"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"urn:swift:xsd:envelope ../../../../Schemas/Translator_envelope.xsd"
>
<AppHdr
xmlns=
"urn:iso:std:iso:20022:tech:xsd:head.001.001.02"
>
<Fr>
<FIId>
<FinInstnId>
<BICFI>
DEUTDEFF
</BICFI>
</FinInstnId>
</FIId>
</Fr>
<To>
<FIId>
<FinInstnId>
<BICFI>
DEUTNL2A
</BICFI>
</FinInstnId>
</FIId>
</To>
<BizMsgIdr>
pacs8bizmsgidr02
</BizMsgIdr>
<MsgDefIdr>
camt.054.001.02
</MsgDefIdr>
<BizSvc>
swift.cbprplus.02
</BizSvc>
<CreDt>
2020-09-08T10:10:47+08:00
</CreDt>
</AppHdr>
<Document
xmlns=
"urn:iso:std:iso:20022:tech:xsd:camt.054.001.02"
>
<BkToCstmrDbtCdtNtfctn>
<GrpHdr>
<MsgId>
FRDA000003421606
</MsgId>
...
...
@@ -15,13 +36,13 @@
</Id>
<Svcr>
<FinInstnId>
<BIC>
40457258
</BIC>
<BIC>
DEUTNL2A
</BIC>
</FinInstnId>
</Svcr>
<Ownr>
<Id>
<OrgId>
<BICOrBEI>
SHWHQWER123
</BICOrBEI>
<BICOrBEI>
DEUTDEFF
</BICOrBEI>
</OrgId>
</Id>
</Ownr>
...
...
@@ -184,4 +205,5 @@
</Ntry>
</Ntfctn>
</BkToCstmrDbtCdtNtfctn>
</Document>
\ No newline at end of file
</Document>
</Envelope>
\ No newline at end of file
src/main/resources/swiftXml/MxCamt05400102_DEBIT.xml
View file @
8024bf05
This diff is collapsed.
Click to expand it.
src/main/resources/swiftXml/MxPacs00900102.xml
View file @
8024bf05
This diff is collapsed.
Click to expand it.
src/main/resources/swiftXml/MxPacs00900102_COV.xml
View file @
8024bf05
This diff is collapsed.
Click to expand it.
src/main/resources/template/swift_mt_202cov.vm
View file @
8024bf05
{1:F01${vm.receiverBic}0001000001}{2:${vm.isCov}${vm.createTime}${vm.createDate}${vm.senderBic}0002000001${vm.outDate}${vm.outTime}N}{3:{108:178908658RSC1}{111:001}{121:9bc16ba2-76e0-4651-b225-3bae8552f17a}#if(${vm.cov})
${vm.cov}#end}{4:
{1:$vm.head1}{2:$vm.head2}#if(!$null.isNull($vm.head3) && $vm.head3.length()>0){3:$vm.head3}#end{4:
:20:$vm.field20
:21:$vm.field21
#if(!$null.isNull($vm.fi
led13CList) && $vm.filed13C
List.size()!=0)
#foreach($field13C in $vm.fi
led13C
List)
#if(!$null.isNull($vm.fi
eld13cList) && $vm.field13c
List.size()!=0)
#foreach($field13C in $vm.fi
eld13c
List)
:13C:$field13C
#end
#end
:32A:$vm.field32A
#if($vm.field52
Key
=='A')
#if($vm.field52
Option
=='A')
:52A:$vm.field52A
#
if($vm.field52Account
)
$vm.field52Account
#
elseif($vm.field52Option=='D'
)
:52D:$vm.field52A
#end
#elseif($vm.field52Key == 'D')
#if($vm.field52DAdr)
:52D:$vm.field52DAdr
#end
#if($vm.field52Account)
$vm.field52Account
#end
#end
#if($vm.field53AKey=='A')
#if($vm.field53A)
#if($vm.field53Option=='A')
:53A:$vm.field53A
#elseif($vm.field53Option=='B')
:53B:$vm.field53A
#elseif($vm.field53Option=='D')
:53D:$vm.field53A
#end
#if($vm.field53Account)
$vm.field53Account
#end
#elseif($vm.field53BKey == 'B')
#if($vm.field53Account)
:53B:$vm.field53Account
#end
#elseif($vm.field53DKey == 'D')
#if($vm.field53Adr)
:53D:$vm.field53Adr
#if($vm.field53Account)
$vm.field53Account
#end
#end
#end
#if($vm.field54AKey=='A')
#if($vm.field54Option=='A')
:54A:$vm.field54A
#if($vm.field54Account)
$vm.field54Account
#end
#elseif($vm.field54DKey == 'D')
#if($vm.field54Adr)
:54D:$vm.field54Adr
#end
#if($vm.field54Account)
$vm.field54Account
#elseif($vm.field54Option=='D')
:54D:$vm.field54A
#end
#end
#if($vm.field56AKey=='A')
#if($vm.field56Option=='A')
:56A:$vm.field56A
#if($vm.field56Account)
$vm.field56Account
#end
#elseif($vm.field56DKey == 'D')
#if($vm.field56Adr)
:56D:$vm.field56Adr
#end
#if($vm.field56Account)
$vm.field56Account
#elseif($vm.field56Option=='D')
:56D:$vm.field56A
#end
#end
#if($vm.field57AKey=='A')
#if($vm.field57Option=='A')
:57A:$vm.field57A
#if($vm.field57Account)
$vm.field57Account
#end
#elseif($vm.field57DKey == 'D')
#if($vm.field57Adr)
:57D:$vm.field57Adr
#end
#if($vm.field57Account)
$vm.field57Account
#elseif($vm.field57Option=='D')
:57D:$vm.field57A
#end
#end
#if($vm.field58AKey=='A')
#if($vm.field58Option=='A')
:58A:$vm.field58A
#if($vm.field58Account)
$vm.field58Account
#end
#elseif($vm.field58DKey == 'D')
#if($vm.field58Adr)
:58D:$vm.field58Adr
#end
#if($vm.field58Account)
$vm.field58Account
#end
#end
#if(!$null.isNull($vm.filed72) && $vm.filed72.length()>0)
:72:$vm.filed72
#end
#if($vm.fieldB50Option=='A')
#if($vm.field50A)
:50A:$vm.fieldB50A
#end
#if($vm.fieldB50Account)
$vm.fieldB50Account
#end
#elseif($vm.fieldB50Option == 'F')
#if($vm.fieldB50F)
:50F:$vm.fieldB50F
#end
#if($vm.fieldB50Account)
$vm.fieldB50Account
#end
#elseif($vm.fieldB50Option == 'K')
#if($vm.fieldB50K)
:50K:$vm.fieldB50K
#end
#if($vm.fieldB50Account)
$vm.fieldB50Account
#end
#end
#if($vm.fieldB52Option=='A')
:52A:$vm.fieldB52A
#if($vm.fieldB52Account)
$vm.fieldB52Account
#end
#elseif($vm.fieldB52Option == 'D')
#if($vm.fieldB52D)
:52D:$vm.fieldB52D
#end
#if($vm.fieldB52Account)
$vm.fieldB52Account
#end
#end
#if($vm.fieldB56Option=='A')
#if($vm.fieldB56A)
:56A:$vm.fieldB56A
#end
#if($vm.fieldB56Account)
$vm.fieldB56Account
#end
#elseif($vm.fieldB56Option == 'C')
#if($vm.fieldB56Account)
:56C:$vm.fieldB56Account
#end
#elseif($vm.fieldB56Option == 'D')
#if($vm.fieldB56D)
:56K:$vm.fieldB56D
#end
#if($vm.fieldB56Account)
$vm.fieldB56Account
#end
#end
#if($vm.fieldB57Option=='A')
#if($vm.fieldB57)
:57A:$vm.fieldB57
#end
#if($vm.fieldB57Account)
$vm.fieldB57Account
#end
#elseif($vm.fieldB57Option == 'C')
#if($vm.fieldB57Account)
:57C:$vm.fieldB57Account
#end
#elseif($vm.fieldB57Option == 'D')
#if($vm.fieldB57D)
:57D:$vm.fieldB57D
#end
#if($vm.fieldB57Account)
$vm.fieldB57Account
#end
#end
#if($vm.fieldB59Option=='')
:59:$vm.fieldB59
#if($vm.fieldB59Account)
$vm.fieldB59Account
#end
#elseif($vm.fieldB59Option == 'A')
#if($vm.fieldB59A)
:59A:$vm.fieldB59A
#end
#if($vm.fieldB59Account)
$vm.fieldB59Account
#end
#end
#if(!$null.isNull($vm.field70) && $vm.field70.length()>0)
:70:$vm.field70
#end
#if(!$null.isNull($vm.field33B) && $vm.field33B.length()>0)
#elseif($vm.field58Option=='D')
:58D:$vm.field58A
#end
#if(!$null.isNull($vm.field72) && $vm.field72.length() > 0)
:72:$vm.field72
#end
#if($vm.field50BOption=='A')
:50A:$vm.field50B
#elseif($vm.field50BOption=='F')
:50F:$vm.field50B
#elseif($vm.field50BOption=='K')
:50K:$vm.field50B
#end
#if($vm.field52BOption=='A')
:52A:$vm.field52B
#elseif($vm.field52BOption=='D')
:52D:$vm.field52B
#end
#if($vm.field56BOption=='A')
:56A:$vm.field56B
#elseif($vm.field56BOption=='C')
:56C:$vm.field56B
#elseif($vm.field56BOption=='D')
:56D:$vm.field56B
#end
#if($vm.field57BOption=='A')
:57A:$vm.field57B
#elseif($vm.field57BOption=='C')
:57C:$vm.field57B
#elseif($vm.field57BOption=='D')
:57D:$vm.field57B
#end
#if($vm.field59BOption=='A')
:59A:$vm.field59B
#elseif($vm.field59BOption=='NOLETTER')
:59:$vm.field59B
#end
#if(!$null.isNull($vm.field70B) && $vm.field70B.length() > 0)
:70:$vm.field70B
#end
#if(!$null.isNull($vm.filed72B) && $vm.filed72B.length() > 0)
:72:$vm.filed72B
#end
#if(!$null.isNull($vm.field33B) && $vm.field33B.length() > 0)
:33B:$vm.field33B
#end
-}{5:{MAC:6342F3D2}{CHK:C412E5AF7797}{DLM:}}
\ No newline at end of file
-}#if(!$null.isNull($vm.head5) && $vm.head5.length()>0){5:$vm.head5}#end
\ No newline at end of file
src/main/resources/template/swift_mt_900_910.vm
View file @
8024bf05
{1:
F01${vm.receiverBic}0001000001}{2:O${vm.mtType}${vm.createTime}${vm.createDate}${vm.senderBic}0002000001${vm.outDate}${vm.outTime}N}{3:{108:178908658RSC1}{111:001}{121:9bc16ba2-76e0-4651-b225-3bae8552f17a}}
{4:
{1:
$vm.head1}{2:$vm.head2}#if(!$null.isNull($vm.head3) && $vm.head3.length()>0){3:$vm.head3}#end
{4:
:20:$vm.field20
:21:$vm.field21
:25:$vm.field25a
#if(!$null.isNull($vm.field13D) && $vm.field13D.length()>0)
:13:$vm.field13D
:13
D
:$vm.field13D
#end
:32A:$vm.field32A
#if($vm.field50aOption=="A")
...
...
@@ -26,4 +26,4 @@
#if(!$null.isNull($vm.field72) && $vm.field72.length()>0)
:72:$vm.field72
#end
-}
{5:{MAC:6342F3D2}{CHK:C412E5AF7797}{DLM:}}
-}
#if(!$null.isNull($vm.head5) && $vm.head5.length()>0){5:$vm.head5}#end
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