]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C228.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C228.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C228
7 ( -- * Definition
8 compositeC228
9 -- * Dependencies
10 , simple8178
11 , simple8179
12 ) where
13
14 import Text.Edifact.D96A.Simples (simple8178, simple8179)
15
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
18
19 -- | Derived from this specification:
20 --
21 -- > C228 TRANSPORT MEANS
22 -- >
23 -- > Desc: Code and/or name identifying the type of means of
24 -- > transport.
25 -- >
26 -- > 010 8179 Type of means of transport identification C an..8
27 -- > 020 8178 Type of means of transport C an..17
28 --
29 -- Dependencies: 'simple8178', 'simple8179'.
30 compositeC228 :: Parser Value
31 compositeC228 =
32 composite "C228"
33 [ "010" .@ optional simple8179
34 , "020" .@ optional simple8178
35 ]