aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C231.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C231.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C231.hs37
1 files changed, 37 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C231.hs b/specification/src/Text/Edifact/D96A/Composites/C231.hs
new file mode 100644
index 0000000..707fb5e
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C231.hs
@@ -0,0 +1,37 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C231
7 ( -- * Definition
8 compositeC231
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple4215
13 ) where
14
15import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4215)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > C231 METHOD OF PAYMENT
23-- >
24-- > Desc: Code identifying the method of payment.
25-- >
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
29--
30-- Dependencies: 'simple1131', 'simple3055', 'simple4215'.
31compositeC231 :: Parser Value
32compositeC231 =
33 composite "C231"
34 [ "010" .@ mandatory simple4215
35 , "020" .@ optional simple1131
36 , "030" .@ optional simple3055
37 ]