aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S5243.hs
blob: 29bb1c959de6652aff14b880392441642d5c9179 (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
41
42
43
44
45
46
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D96A.Simples.S5243
  ( simple5243
  ) where

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

-- | Derived from this specification:
--
-- > * 5243  Rate/tariff class identification
-- >
-- >   Desc: Identification of the rate/tariff class.
-- >
-- >   Repr: an..9
-- >
-- > +  A      Senior person rate
-- >              Rate class applies to senior persons.
-- >    B      Basic
-- >              Self explanatory.
-- >    C      Specific commodity rate
-- >              Self explanatory.
-- > +  D      Teenager rate
-- >              Rate class applies to teenagers.
-- > +  E      Child rate
-- >              Rate class applies to children.
-- > +  F      Adult rate
-- >              Rate class applies to adults.
-- >    K      Rate per kilogram
-- >              Self explanatory.
-- >    M      Minimum charge rate
-- >              Self explanatory.
-- >    N      Normal rate
-- >              Self explanatory.
-- >    Q      Quantity rate
-- >              Self explanatory.
-- >    R      Class rate (Reduction on normal rate)
-- >              Description to be provided.
-- >    S      Class rate (Surcharge on normal rate)
-- >              Description to be provided.
simple5243 :: Parser Value
simple5243 = simple "5243" (alphaNumeric `upTo` 9)