aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C239.hs
blob: 940362eeb63c33993d1579e2c819f25bdf84f266 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D96A.Composites.C239
  ( -- * Definition
    compositeC239
    -- * Dependencies
  , simple6246
  , simple6411
  ) where

import           Text.Edifact.D96A.Simples (simple6246, simple6411)

import           Text.Edifact.Parsing
import           Text.Edifact.Types        (Value)

-- | Derived from this specification:
--
-- >       C239  TEMPERATURE SETTING
-- >
-- >       Desc: The temperature under which the goods are (to be) stored
-- >             or shipped.
-- >
-- > 010   6246   Temperature setting                           C  n3
-- > 020   6411   Measure unit qualifier                        C  an..3
--
-- Dependencies: 'simple6246', 'simple6411'.
compositeC239 :: Parser Value
compositeC239 =
  composite "C239"
    [ "010" .@ optional  simple6246
    , "020" .@ optional  simple6411
    ]