]>
Commit | Line | Data |
---|---|---|
1 | {-# LANGUAGE OverloadedStrings #-} | |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Simples.S6347 | |
7 | ( simple6347 | |
8 | ) where | |
9 | ||
10 | import Text.Edifact.Parsing | |
11 | import Text.Edifact.Types (Value) | |
12 | ||
13 | -- | Derived from this specification: | |
14 | -- | |
15 | -- > * 6347 Currency details qualifier | |
16 | -- > | |
17 | -- > Desc: Specification of the usage to which the currency relates. | |
18 | -- > | |
19 | -- > Repr: an..3 | |
20 | -- > | |
21 | -- > 1 Charge payment currency | |
22 | -- > The currency in which charges are to be paid. | |
23 | -- > 2 Reference currency | |
24 | -- > The currency applicable to amounts stated. It may have to | |
25 | -- > be converted. | |
26 | -- > 3 Target currency | |
27 | -- > The currency which should be used to the target | |
28 | -- > destination of the transaction. | |
29 | -- > 4 Transport document currency | |
30 | -- > Currency applicable to amounts stated in a transport | |
31 | -- > document/message. | |
32 | -- > 5 Calculation base currency | |
33 | -- > Currency on which the calculation is based. | |
34 | -- > 6 Information Currency | |
35 | -- > Additional currency the message recipient needs for | |
36 | -- > information purposes. The actual message amount(s) is/are | |
37 | -- > not based upon this currency. | |
38 | -- > + 7 Currency of the account | |
39 | -- > Currency in which the account is held. | |
40 | simple6347 :: Parser Value | |
41 | simple6347 = simple "6347" (alphaNumeric `upTo` 3) |