]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Simples/S5243.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Simples / S5243.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Simples.S5243
7 ( simple5243
8 ) where
9
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
12
13 -- | Derived from this specification:
14 --
15 -- > 5243 Rate or tariff class description code [C]
16 -- >
17 -- > Desc: Code specifying an applicable rate or tariff class.
18 -- >
19 -- > Repr: an..9
20 -- >
21 -- > A Senior person rate
22 -- > Rate class applies to senior persons.
23 -- >
24 -- > B Basic
25 -- > Code specifying that the rate or tariff is a basic one.
26 -- >
27 -- > C Specific commodity rate
28 -- > Code specifying the specific commodity rate.
29 -- >
30 -- > D Teenager rate
31 -- > Rate class applies to teenagers.
32 -- >
33 -- > E Child rate
34 -- > Rate class applies to children.
35 -- >
36 -- > F Adult rate
37 -- > Rate class applies to adults.
38 -- >
39 -- > K Rate per kilogram
40 -- > Code specifying the rate per kilogram.
41 -- >
42 -- > M Minimum charge rate
43 -- > Code specifying the minimum charge rate.
44 -- >
45 -- > N Normal rate
46 -- > Code specifying the normal rate.
47 -- >
48 -- > Q Quantity rate
49 -- > Code specifying the quantity rate.
50 -- >
51 -- > R Class rate (Reduction on normal rate)
52 -- > Code specifying the reduction on normal rate.
53 -- >
54 -- > S Class rate (Surcharge on normal rate)
55 -- > Code specifying the surcharge on normal rate.
56 simple5243 :: Parser Value
57 simple5243 = simple "5243" (alphaNumeric `upTo` 9)