diff options
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S4237.hs')
-rw-r--r-- | specification/src/Text/Edifact/D01B/Simples/S4237.hs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S4237.hs b/specification/src/Text/Edifact/D01B/Simples/S4237.hs new file mode 100644 index 0000000..939f6ea --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Simples/S4237.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.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 Payment arrangement code [B] | ||
16 | -- > | ||
17 | -- > Desc: Code specifying the arrangements for a payment. | ||
18 | -- > | ||
19 | -- > Repr: an..3 | ||
20 | -- > | ||
21 | -- > A Payable elsewhere | ||
22 | -- > Responsibility for payment of transport charges unknown | ||
23 | -- > at time of departure. | ||
24 | -- > | ||
25 | -- > B Third party to pay | ||
26 | -- > A third party to pay the freight bill is known at the | ||
27 | -- > time of shipment. | ||
28 | -- > | ||
29 | -- > C Collect | ||
30 | -- > Charges are (to be) collected from the consignee at the | ||
31 | -- > destination. | ||
32 | -- > | ||
33 | -- > P Prepaid | ||
34 | -- > Charges are (to be) prepaid before the transport | ||
35 | -- > actually leaves. | ||
36 | simple4237 :: Parser Value | ||
37 | simple4237 = simple "4237" (alphaNumeric `upTo` 3) | ||