aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C402.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C402.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C402.hs41
1 files changed, 41 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C402.hs b/specification/src/Text/Edifact/D96A/Composites/C402.hs
new file mode 100644
index 0000000..3c9e8e4
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C402.hs
@@ -0,0 +1,41 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C402
7 ( -- * Definition
8 compositeC402
9 -- * Dependencies
10 , simple7064
11 , simple7077
12 , simple7143
13 ) where
14
15import Text.Edifact.D96A.Simples (simple7064, simple7077, simple7143)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > C402 PACKAGE TYPE IDENTIFICATION
23-- >
24-- > Desc: Identification of the form in which goods are described.
25-- >
26-- > 010 7077 Item description type, coded M an..3
27-- > 020 7064 Type of packages M an..35
28-- > 030 7143 Item number type, coded C an..3
29-- > 040 7064 Type of packages C an..35
30-- > 050 7143 Item number type, coded C an..3
31--
32-- Dependencies: 'simple7064', 'simple7077', 'simple7143'.
33compositeC402 :: Parser Value
34compositeC402 =
35 composite "C402"
36 [ "010" .@ mandatory simple7077
37 , "020" .@ mandatory simple7064
38 , "030" .@ optional simple7143
39 , "040" .@ optional simple7064
40 , "050" .@ optional simple7143
41 ]