]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Simples/S5213.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Simples / S5213.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Simples.S5213
7 ( simple5213
8 ) where
9
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
12
13 -- | Derived from this specification:
14 --
15 -- > 5213 Sub-line item price change operation code [C]
16 -- >
17 -- > Desc: Code specifying the price change operation for a sub-
18 -- > line item.
19 -- >
20 -- > Repr: an..3
21 -- >
22 -- > A Added to the baseline item unit price
23 -- > Price is to be added to the base line unit price.
24 -- >
25 -- > I Included in the baseline item unit price
26 -- > Price is included in the base line unit price.
27 -- >
28 -- > S Subtracted from the baseline item unit price
29 -- > Price is to be subtracted from the base line unit price.
30 simple5213 :: Parser Value
31 simple5213 = simple "5213" (alphaNumeric `upTo` 3)