1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.TOD
15 import Text.Edifact.D01B.Composites (compositeC100)
16 import Text.Edifact.D01B.Simples (simple4055, simple4215)
18 import Text.Edifact.Parsing
19 import Text.Edifact.Types (Value)
21 -- | Derived from this specification:
23 -- > TOD TERMS OF DELIVERY OR TRANSPORT
25 -- > Function: To specify terms of delivery or transport.
27 -- > 010 4055 DELIVERY OR TRANSPORT TERMS FUNCTION CODE C 1 an..3
29 -- > 020 4215 TRANSPORT CHARGES PAYMENT METHOD CODE C 1 an..3
31 -- > 030 C100 TERMS OF DELIVERY OR TRANSPORT C 1
32 -- > 4053 Delivery or transport terms description
34 -- > 1131 Code list identification code C an..17
35 -- > 3055 Code list responsible agency code C an..3
36 -- > 4052 Delivery or transport terms description C an..70
37 -- > 4052 Delivery or transport terms description C an..70
39 -- Dependencies: 'compositeC100', 'simple4055', 'simple4215'.
40 segmentTOD :: Parser Value
43 [ "010" .@ optional simple4055
44 , "020" .@ optional simple4215
45 , "030" .@ optional compositeC100