diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/MOA.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Segments/MOA.hs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/MOA.hs b/specification/src/Text/Edifact/D96A/Segments/MOA.hs new file mode 100644 index 0000000..db1def8 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Segments/MOA.hs | |||
@@ -0,0 +1,36 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Segments.MOA | ||
7 | ( -- * Definition | ||
8 | segmentMOA | ||
9 | -- * Dependencies | ||
10 | , compositeC516 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D96A.Composites (compositeC516) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > MOA MONETARY AMOUNT | ||
21 | -- > | ||
22 | -- > Function: To specify a monetary amount. | ||
23 | -- > | ||
24 | -- > 010 C516 MONETARY AMOUNT M | ||
25 | -- > 5025 Monetary amount type qualifier M an..3 | ||
26 | -- > 5004 Monetary amount C n..18 | ||
27 | -- > 6345 Currency, coded C an..3 | ||
28 | -- > 6343 Currency qualifier C an..3 | ||
29 | -- > 4405 Status, coded C an..3 | ||
30 | -- | ||
31 | -- Dependencies: 'compositeC516'. | ||
32 | segmentMOA :: Parser Value | ||
33 | segmentMOA = | ||
34 | segment "MOA" | ||
35 | [ "010" .@ mandatory compositeC516 | ||
36 | ] | ||