aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S8101.hs
blob: 947f1aee9cd307e57e6cbedecedda0b0f4a16769 (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
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D96A.Simples.S8101
  ( simple8101
  ) where

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

-- | Derived from this specification:
--
-- >   8101  Transit direction, coded
-- >
-- >   Desc: Identification of the point of origin and point of direction.
-- >
-- >   Repr: an..3
-- >
-- >    BS     Buyer to seller
-- >              Self explanatory.
-- >    SB     Seller to buyer
-- >              Self explanatory.
-- >    SC     Subcontractor to seller
-- >              Self explanatory.
-- >    SD     Seller to drop ship designated location
-- >              Self explanatory.
-- >    SF     Seller to freight forwarder
-- >              Self explanatory.
-- >    SS     Seller to subcontractor
-- >              Self explanatory.
-- >    ZZZ    Mutually defined
-- >              Self explanatory.
simple8101 :: Parser Value
simple8101 = simple "8101" (alphaNumeric `upTo` 3)