1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C231
15 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4215)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > C231 METHOD OF PAYMENT
24 -- > Desc: Code identifying the method of payment.
26 -- > 010 4215 Transport charges method of payment, coded M an..3
27 -- > 020 1131 Code list qualifier C an..3
28 -- > 030 3055 Code list responsible agency, coded C an..3
30 -- Dependencies: 'simple1131', 'simple3055', 'simple4215'.
31 compositeC231 :: Parser Value
34 [ "010" .@ mandatory simple4215
35 , "020" .@ optional simple1131
36 , "030" .@ optional simple3055