]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D01B.Composites.C210 | |
7 | ( -- * Definition | |
8 | compositeC210 | |
9 | -- * Dependencies | |
10 | , simple7102 | |
11 | ) where | |
12 | ||
13 | import Text.Edifact.D01B.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 | |
23 | -- > lines. | |
24 | -- > | |
25 | -- > 010 7102 Shipping marks description M an..35 | |
26 | -- > 020 7102 Shipping marks description C an..35 | |
27 | -- > 030 7102 Shipping marks description C an..35 | |
28 | -- > 040 7102 Shipping marks description C an..35 | |
29 | -- > 050 7102 Shipping marks description C an..35 | |
30 | -- > 060 7102 Shipping marks description C an..35 | |
31 | -- > 070 7102 Shipping marks description C an..35 | |
32 | -- > 080 7102 Shipping marks description C an..35 | |
33 | -- > 090 7102 Shipping marks description C an..35 | |
34 | -- > 100 7102 Shipping marks description C an..35 | |
35 | -- | |
36 | -- Dependencies: 'simple7102'. | |
37 | compositeC210 :: Parser Value | |
38 | compositeC210 = | |
39 | composite "C210" | |
40 | [ "010" .@ mandatory simple7102 | |
41 | , "020" .@ optional simple7102 | |
42 | , "030" .@ optional simple7102 | |
43 | , "040" .@ optional simple7102 | |
44 | , "050" .@ optional simple7102 | |
45 | , "060" .@ optional simple7102 | |
46 | , "070" .@ optional simple7102 | |
47 | , "080" .@ optional simple7102 | |
48 | , "090" .@ optional simple7102 | |
49 | , "100" .@ optional simple7102 | |
50 | ] |