aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S4237.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S4237.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Simples/S4237.hs35
1 files changed, 35 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S4237.hs b/specification/src/Text/Edifact/D96A/Simples/S4237.hs
new file mode 100644
index 0000000..d3b6818
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Simples/S4237.hs
@@ -0,0 +1,35 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Simples.S4237
7 ( simple4237
8 ) where
9
10import Text.Edifact.Parsing
11import 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.
34simple4237 :: Parser Value
35simple4237 = simple "4237" (alphaNumeric `upTo` 3)