1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S5213
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 5213 Sub-line item price change operation code [C]
17 -- > Desc: Code specifying the price change operation for a sub-
22 -- > A Added to the baseline item unit price
23 -- > Price is to be added to the base line unit price.
25 -- > I Included in the baseline item unit price
26 -- > Price is included in the base line unit price.
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)