]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Composites/C203.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C203.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C203
7 ( -- * Definition
8 compositeC203
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple5242
13 , simple5243
14 , simple5275
15 ) where
16
17import Text.Edifact.D01B.Simples (simple1131, simple3055, simple5242,
18 simple5243, simple5275)
19
20import Text.Edifact.Parsing
21import Text.Edifact.Types (Value)
22
23-- | Derived from this specification:
24--
25-- > C203 RATE/TARIFF CLASS
26-- >
27-- > Desc: Identification of the applicable rate/tariff class.
28-- >
29-- > 010 5243 Rate or tariff class description code M an..9
30-- > 020 1131 Code list identification code C an..17
31-- > 030 3055 Code list responsible agency code C an..3
32-- > 040 5242 Rate or tariff class description C an..35
33-- > 050 5275 Supplementary rate or tariff code C an..6
34-- > 060 1131 Code list identification code C an..17
35-- > 070 3055 Code list responsible agency code C an..3
36-- > 080 5275 Supplementary rate or tariff code C an..6
37-- > 090 1131 Code list identification code C an..17
38-- > 100 3055 Code list responsible agency code C an..3
39--
40-- Dependencies: 'simple1131', 'simple3055', 'simple5242', 'simple5243', 'simple5275'.
41compositeC203 :: Parser Value
42compositeC203 =
43 composite "C203"
44 [ "010" .@ mandatory simple5243
45 , "020" .@ optional simple1131
46 , "030" .@ optional simple3055
47 , "040" .@ optional simple5242
48 , "050" .@ optional simple5275
49 , "060" .@ optional simple1131
50 , "070" .@ optional simple3055
51 , "080" .@ optional simple5275
52 , "090" .@ optional simple1131
53 , "100" .@ optional simple3055
54 ]