diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C210.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C210.hs | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C210.hs b/specification/src/Text/Edifact/D96A/Composites/C210.hs new file mode 100644 index 0000000..f1732ba --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C210.hs | |||
@@ -0,0 +1,49 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C210 | ||
7 | ( -- * Definition | ||
8 | compositeC210 | ||
9 | -- * Dependencies | ||
10 | , simple7102 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D96A.Simples (simple7102) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > | C210 MARKS & LABELS | ||
21 | -- > | ||
22 | -- > | Desc: Shipping marks on packages in free text; one to ten lines. | ||
23 | -- > | ||
24 | -- > 010 7102 Shipping marks M an..35 | ||
25 | -- > 020 7102 Shipping marks C an..35 | ||
26 | -- > 030 7102 Shipping marks C an..35 | ||
27 | -- > 040 7102 Shipping marks C an..35 | ||
28 | -- > 050 7102 Shipping marks C an..35 | ||
29 | -- > 060 7102 Shipping marks C an..35 | ||
30 | -- > 070 7102 Shipping marks C an..35 | ||
31 | -- > 080 7102 Shipping marks C an..35 | ||
32 | -- > 090 7102 Shipping marks C an..35 | ||
33 | -- > 100 7102 Shipping marks C an..35 | ||
34 | -- | ||
35 | -- Dependencies: 'simple7102'. | ||
36 | compositeC210 :: Parser Value | ||
37 | compositeC210 = | ||
38 | composite "C210" | ||
39 | [ "010" .@ mandatory simple7102 | ||
40 | , "020" .@ optional simple7102 | ||
41 | , "030" .@ optional simple7102 | ||
42 | , "040" .@ optional simple7102 | ||
43 | , "050" .@ optional simple7102 | ||
44 | , "060" .@ optional simple7102 | ||
45 | , "070" .@ optional simple7102 | ||
46 | , "080" .@ optional simple7102 | ||
47 | , "090" .@ optional simple7102 | ||
48 | , "100" .@ optional simple7102 | ||
49 | ] | ||