aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S8323.hs
blob: 1d86913c8f1581f68dfcfa64b30db7c9fd8cd860 (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
36
37
38
39
40
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D01B.Simples.S8323
  ( simple8323
  ) where

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

-- | Derived from this specification:
--
-- >      8323  Transport movement code                                 [B]
-- >
-- >      Desc: Code specifying the transport movement.
-- >
-- >      Repr: an..3
-- >
-- >      1     Export
-- >               Self explanatory.
-- >
-- >      2     Import
-- >               Self explanatory.
-- >
-- >      3     Transit
-- >               The cargo is moving in transit through a country and
-- >               will not become part of the commerce of that country.
-- >
-- >      4     Relay
-- >               The cargo is being moved by more than one transport
-- >               means in succession under the responsibility of the same
-- >               carrier.
-- >
-- >      5     Transshipment
-- >               The cargo is being moved by more than one transport
-- >               means in succession.
simple8323 :: Parser Value
simple8323 = simple "8323" (alphaNumeric `upTo` 3)