]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Segments/CTA.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / CTA.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Segments.CTA
7 ( -- * Definition
8 segmentCTA
9 -- * Dependencies
10 , compositeC056
11 , simple3139
12 ) where
13
14import Text.Edifact.D01B.Composites (compositeC056)
15import Text.Edifact.D01B.Simples (simple3139)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > CTA CONTACT INFORMATION
23-- >
24-- > Function: To identify a person or a department to whom
25-- > communication should be directed.
26-- >
27-- > 010 3139 CONTACT FUNCTION CODE C 1 an..3
28-- >
29-- > 020 C056 DEPARTMENT OR EMPLOYEE DETAILS C 1
30-- > 3413 Department or employee name code C an..17
31-- > 3412 Department or employee name C an..35
32--
33-- Dependencies: 'compositeC056', 'simple3139'.
34segmentCTA :: Parser Value
35segmentCTA =
36 segment "CTA"
37 [ "010" .@ optional simple3139
38 , "020" .@ optional compositeC056
39 ]