]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C229.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C229.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C229
7 ( -- * Definition
8 compositeC229
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple5237
13 ) where
14
15 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple5237)
16
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
19
20 -- | Derived from this specification:
21 --
22 -- > C229 CHARGE CATEGORY
23 -- >
24 -- > Desc: Identification of a category or a zone of charges.
25 -- >
26 -- > 010 5237 Charge category, coded M an..3
27 -- > 020 1131 Code list qualifier C an..3
28 -- > 030 3055 Code list responsible agency, coded C an..3
29 --
30 -- Dependencies: 'simple1131', 'simple3055', 'simple5237'.
31 compositeC229 :: Parser Value
32 compositeC229 =
33 composite "C229"
34 [ "010" .@ mandatory simple5237
35 , "020" .@ optional simple1131
36 , "030" .@ optional simple3055
37 ]