]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C100.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C100.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C100
7 ( -- * Definition
8 compositeC100
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple4052
13 , simple4053
14 ) where
15
16 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4052,
17 simple4053)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C100 TERMS OF DELIVERY OR TRANSPORT
25 -- >
26 -- > Desc: Terms of delivery or transport code from a specified
27 -- > source.
28 -- >
29 -- > 010 4053 Terms of delivery or transport, coded C an..3
30 -- > 020 1131 Code list qualifier C an..3
31 -- > 030 3055 Code list responsible agency, coded C an..3
32 -- > 040 4052 Terms of delivery or transport C an..70
33 -- > 050 4052 Terms of delivery or transport C an..70
34 --
35 -- Dependencies: 'simple1131', 'simple3055', 'simple4052', 'simple4053'.
36 compositeC100 :: Parser Value
37 compositeC100 =
38 composite "C100"
39 [ "010" .@ optional simple4053
40 , "020" .@ optional simple1131
41 , "030" .@ optional simple3055
42 , "040" .@ optional simple4052
43 , "050" .@ optional simple4052
44 ]