]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Composites.C532 | |
7 | ( -- * Definition | |
8 | compositeC532 | |
9 | -- * Dependencies | |
10 | , simple8393 | |
11 | , simple8395 | |
12 | ) where | |
13 | ||
14 | import Text.Edifact.D96A.Simples (simple8393, simple8395) | |
15 | ||
16 | import Text.Edifact.Parsing | |
17 | import Text.Edifact.Types (Value) | |
18 | ||
19 | -- | Derived from this specification: | |
20 | -- | |
21 | -- > C532 RETURNABLE PACKAGE DETAILS | |
22 | -- > | |
23 | -- > Desc: Indication of responsibility for payment and load contents | |
24 | -- > of returnable packages. | |
25 | -- > | |
26 | -- > 010 8395 Returnable package freight payment C an..3 | |
27 | -- > responsibility, coded | |
28 | -- > 020 8393 Returnable package load contents, coded C an..3 | |
29 | -- | |
30 | -- Dependencies: 'simple8393', 'simple8395'. | |
31 | compositeC532 :: Parser Value | |
32 | compositeC532 = | |
33 | composite "C532" | |
34 | [ "010" .@ optional simple8395 | |
35 | , "020" .@ optional simple8393 | |
36 | ] |