aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S5213.hs
blob: 88f8c84ecda5b5f7b3790b53a70ead133fbc5913 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D96A.Simples.S5213
  ( simple5213
  ) where

import           Text.Edifact.Parsing
import           Text.Edifact.Types   (Value)

-- | Derived from this specification:
--
-- >   5213  Sub-line price change, coded
-- >
-- >   Desc: Code indicating disposition of the price change of a sub-line
-- >         item.
-- >
-- >   Repr: an..3
-- >
-- >    A      Added to the baseline item unit price
-- >              Self explanatory.
-- >    I      Included in the baseline item unit price
-- >              Self explanatory.
-- >    S      Subtracted from the baseline item unit price
-- >              Self explanatory.
simple5213 :: Parser Value
simple5213 = simple "5213" (alphaNumeric `upTo` 3)