]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Composites/C080.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C080.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C080
7 ( -- * Definition
8 compositeC080
9 -- * Dependencies
10 , simple3036
11 , simple3045
12 ) where
13
14import Text.Edifact.D96A.Simples (simple3036, simple3045)
15
16import Text.Edifact.Parsing
17import Text.Edifact.Types (Value)
18
19-- | Derived from this specification:
20--
21-- > C080 PARTY NAME
22-- >
23-- > Desc: Identification of a transaction party by name, one to five
24-- > lines. Party name may be formatted.
25-- >
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
32--
33-- Dependencies: 'simple3036', 'simple3045'.
34compositeC080 :: Parser Value
35compositeC080 =
36 composite "C080"
37 [ "010" .@ mandatory simple3036
38 , "020" .@ optional simple3036
39 , "030" .@ optional simple3036
40 , "040" .@ optional simple3036
41 , "050" .@ optional simple3036
42 , "060" .@ optional simple3045
43 ]