]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C200.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C200.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C200
7 ( -- * Definition
8 compositeC200
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple4237
13 , simple7140
14 , simple8022
15 , simple8023
16 ) where
17
18 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4237,
19 simple7140, simple8022, simple8023)
20
21 import Text.Edifact.Parsing
22 import Text.Edifact.Types (Value)
23
24 -- | Derived from this specification:
25 --
26 -- > * C200 CHARGE
27 -- >
28 -- > Desc: Identification of a charge by code and/or by name.
29 -- >
30 -- > 010 8023 Freight and charges identification C an..17
31 -- > 020 1131 Code list qualifier C an..3
32 -- > 030 3055 Code list responsible agency, coded C an..3
33 -- > 040 8022 Freight and charges C an..26
34 -- > 050 4237 Prepaid/collect indicator, coded C an..3
35 -- > 060 + 7140 Item number C an..35
36 --
37 -- Dependencies: 'simple1131', 'simple3055', 'simple4237', 'simple7140', 'simple8022', 'simple8023'.
38 compositeC200 :: Parser Value
39 compositeC200 =
40 composite "C200"
41 [ "010" .@ optional simple8023
42 , "020" .@ optional simple1131
43 , "030" .@ optional simple3055
44 , "040" .@ optional simple8022
45 , "050" .@ optional simple4237
46 , "060" .@ optional simple7140
47 ]