]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Segments/TCC.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / TCC.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Segments.TCC
7 ( -- * Definition
8 segmentTCC
9 -- * Dependencies
10 , compositeC200
11 , compositeC203
12 , compositeC528
13 , compositeC554
14 ) where
15
16 import Text.Edifact.D01B.Composites (compositeC200, compositeC203,
17 compositeC528, compositeC554)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > TCC CHARGE/RATE CALCULATIONS
25 -- >
26 -- > Function: To specify charges.
27 -- >
28 -- > 010 C200 CHARGE C 1
29 -- > 8023 Freight and other charges description
30 -- > identifier C an..17
31 -- > 1131 Code list identification code C an..17
32 -- > 3055 Code list responsible agency code C an..3
33 -- > 8022 Freight and other charges description C an..26
34 -- > 4237 Payment arrangement code C an..3
35 -- > 7140 Item identifier C an..35
36 -- >
37 -- > 020 C203 RATE/TARIFF CLASS C 1
38 -- > 5243 Rate or tariff class description code M an..9
39 -- > 1131 Code list identification code C an..17
40 -- > 3055 Code list responsible agency code C an..3
41 -- > 5242 Rate or tariff class description C an..35
42 -- > 5275 Supplementary rate or tariff code C an..6
43 -- > 1131 Code list identification code C an..17
44 -- > 3055 Code list responsible agency code C an..3
45 -- > 5275 Supplementary rate or tariff code C an..6
46 -- > 1131 Code list identification code C an..17
47 -- > 3055 Code list responsible agency code C an..3
48 -- >
49 -- > 030 C528 COMMODITY/RATE DETAIL C 1
50 -- > 7357 Commodity identification code C an..18
51 -- > 1131 Code list identification code C an..17
52 -- > 3055 Code list responsible agency code C an..3
53 -- >
54 -- > 040 C554 RATE/TARIFF CLASS DETAIL C 1
55 -- > 5243 Rate or tariff class description code C an..9
56 -- > 1131 Code list identification code C an..17
57 -- > 3055 Code list responsible agency code C an..3
58 --
59 -- Dependencies: 'compositeC200', 'compositeC203', 'compositeC528', 'compositeC554'.
60 segmentTCC :: Parser Value
61 segmentTCC =
62 segment "TCC"
63 [ "010" .@ optional compositeC200
64 , "020" .@ optional compositeC203
65 , "030" .@ optional compositeC528
66 , "040" .@ optional compositeC554
67 ]