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