]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Simples/S4237.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Simples / S4237.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Simples.S4237
7 ( simple4237
8 ) where
9
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
12
13 -- | Derived from this specification:
14 --
15 -- > 4237 Prepaid/collect indicator, coded
16 -- >
17 -- > Desc: Code indicating whether freight item amount is prepaid or to
18 -- > be collected.
19 -- >
20 -- > Repr: an..3
21 -- >
22 -- > A Payable elsewhere
23 -- > Responsibility for payment of transport charges unknown
24 -- > at time of departure.
25 -- > B Third party to pay
26 -- > A third party to pay the freight bill is known at the
27 -- > time of shipment.
28 -- > C Collect
29 -- > Charges are (to be) collected from the consignee at the
30 -- > destination.
31 -- > P Prepaid
32 -- > Charges are (to be) prepaid before the transport actually
33 -- > leaves.
34 simple4237 :: Parser Value
35 simple4237 = simple "4237" (alphaNumeric `upTo` 3)