]>
Commit | Line | Data |
---|---|---|
1 | {-# LANGUAGE OverloadedStrings #-} | |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D01B.Composites.C523 | |
7 | ( -- * Definition | |
8 | compositeC523 | |
9 | -- * Dependencies | |
10 | , simple6350 | |
11 | , simple6353 | |
12 | ) where | |
13 | ||
14 | import Text.Edifact.D01B.Simples (simple6350, simple6353) | |
15 | ||
16 | import Text.Edifact.Parsing | |
17 | import Text.Edifact.Types (Value) | |
18 | ||
19 | -- | Derived from this specification: | |
20 | -- | |
21 | -- > C523 NUMBER OF UNIT DETAILS | |
22 | -- > | |
23 | -- > Desc: Identification of number of units and its purpose. | |
24 | -- > | |
25 | -- > 010 6350 Units quantity C n..15 | |
26 | -- > 020 6353 Unit type code qualifier C an..3 | |
27 | -- | |
28 | -- Dependencies: 'simple6350', 'simple6353'. | |
29 | compositeC523 :: Parser Value | |
30 | compositeC523 = | |
31 | composite "C523" | |
32 | [ "010" .@ optional simple6350 | |
33 | , "020" .@ optional simple6353 | |
34 | ] |