aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/GDS.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/GDS.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/GDS.hs35
1 files changed, 35 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/GDS.hs b/specification/src/Text/Edifact/D96A/Segments/GDS.hs
new file mode 100644
index 0000000..5ea1ae2
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/GDS.hs
@@ -0,0 +1,35 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.GDS
7 ( -- * Definition
8 segmentGDS
9 -- * Dependencies
10 , compositeC703
11 ) where
12
13import Text.Edifact.D96A.Composites (compositeC703)
14
15import Text.Edifact.Parsing
16import Text.Edifact.Types (Value)
17
18-- | Derived from this specification:
19--
20-- > GDS NATURE OF CARGO
21-- >
22-- > Function: To indicate the type of cargo as a general
23-- > classification.
24-- >
25-- > 010 C703 NATURE OF CARGO C
26-- > 7085 Nature of cargo, coded M an..3
27-- > 1131 Code list qualifier C an..3
28-- > 3055 Code list responsible agency, coded C an..3
29--
30-- Dependencies: 'compositeC703'.
31segmentGDS :: Parser Value
32segmentGDS =
33 segment "GDS"
34 [ "010" .@ optional compositeC703
35 ]