aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Segments/MOA.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Segments/MOA.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Segments/MOA.hs36
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Segments/MOA.hs b/specification/src/Text/Edifact/D01B/Segments/MOA.hs
new file mode 100644
index 0000000..223e1a9
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Segments/MOA.hs
@@ -0,0 +1,36 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Segments.MOA
7 ( -- * Definition
8 segmentMOA
9 -- * Dependencies
10 , compositeC516
11 ) where
12
13import Text.Edifact.D01B.Composites (compositeC516)
14
15import Text.Edifact.Parsing
16import 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 1
25-- > 5025 Monetary amount type code qualifier M an..3
26-- > 5004 Monetary amount C n..35
27-- > 6345 Currency identification code C an..3
28-- > 6343 Currency type code qualifier C an..3
29-- > 4405 Status description code C an..3
30--
31-- Dependencies: 'compositeC516'.
32segmentMOA :: Parser Value
33segmentMOA =
34 segment "MOA"
35 [ "010" .@ mandatory compositeC516
36 ]