1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C080
14 import Text.Edifact.D96A.Simples (simple3036, simple3045)
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
19 -- | Derived from this specification:
23 -- > Desc: Identification of a transaction party by name, one to five
24 -- > lines. Party name may be formatted.
26 -- > 010 3036 Party name M an..35
27 -- > 020 3036 Party name C an..35
28 -- > 030 3036 Party name C an..35
29 -- > 040 3036 Party name C an..35
30 -- > 050 3036 Party name C an..35
31 -- > 060 3045 Party name format, coded C an..3
33 -- Dependencies: 'simple3036', 'simple3045'.
34 compositeC080 :: Parser Value
37 [ "010" .@ mandatory simple3036
38 , "020" .@ optional simple3036
39 , "030" .@ optional simple3036
40 , "040" .@ optional simple3036
41 , "050" .@ optional simple3036
42 , "060" .@ optional simple3045