]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Composites/C270.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C270.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C270
7 ( -- * Definition
8 compositeC270
9 -- * Dependencies
10 , simple6066
11 , simple6069
12 , simple6411
13 ) where
14
15import Text.Edifact.D96A.Simples (simple6066, simple6069, simple6411)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > C270 CONTROL
23-- >
24-- > Desc: Control total for checking integrity of a message or part
25-- > of a message.
26-- >
27-- > 010 6069 Control qualifier M an..3
28-- > 020 6066 Control value M n..18
29-- > 030 6411 Measure unit qualifier C an..3
30--
31-- Dependencies: 'simple6066', 'simple6069', 'simple6411'.
32compositeC270 :: Parser Value
33compositeC270 =
34 composite "C270"
35 [ "010" .@ mandatory simple6069
36 , "020" .@ mandatory simple6066
37 , "030" .@ optional simple6411
38 ]