diff options
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S8281.hs')
-rw-r--r-- | specification/src/Text/Edifact/D01B/Simples/S8281.hs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S8281.hs b/specification/src/Text/Edifact/D01B/Simples/S8281.hs new file mode 100644 index 0000000..1d021b8 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Simples/S8281.hs | |||
@@ -0,0 +1,33 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Simples.S8281 | ||
7 | ( simple8281 | ||
8 | ) where | ||
9 | |||
10 | import Text.Edifact.Parsing | ||
11 | import Text.Edifact.Types (Value) | ||
12 | |||
13 | -- | Derived from this specification: | ||
14 | -- | ||
15 | -- > 8281 Transport means ownership indicator code [B] | ||
16 | -- > | ||
17 | -- > Desc: Code indicating the ownership of a means of transport. | ||
18 | -- > | ||
19 | -- > Repr: an..3 | ||
20 | -- > | ||
21 | -- > 1 Transport for the owner's account | ||
22 | -- > The owner of the transported goods is also the owner of | ||
23 | -- > the means of transport or rented it for this transport. | ||
24 | -- > | ||
25 | -- > 2 Transport for another account | ||
26 | -- > The owner of the transported goods does not own the | ||
27 | -- > means of transport or has not rented it for this | ||
28 | -- > transport. | ||
29 | -- > | ||
30 | -- > 3 Private transport | ||
31 | -- > A code indicating privately owned transport. | ||
32 | simple8281 :: Parser Value | ||
33 | simple8281 = simple "8281" (alphaNumeric `upTo` 3) | ||