aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C532.hs
blob: 79ef7e20b6dae2fb7292b41d60cbcf122116e0e6 (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
30
31
32
33
34
35
36
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D96A.Composites.C532
  ( -- * Definition
    compositeC532
    -- * Dependencies
  , simple8393
  , simple8395
  ) where

import           Text.Edifact.D96A.Simples (simple8393, simple8395)

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

-- | Derived from this specification:
--
-- >       C532  RETURNABLE PACKAGE DETAILS
-- >
-- >       Desc: Indication of responsibility for payment and load contents
-- >             of returnable packages.
-- >
-- > 010   8395   Returnable package freight payment            C  an..3
-- >              responsibility, coded
-- > 020   8393   Returnable package load contents, coded       C  an..3
--
-- Dependencies: 'simple8393', 'simple8395'.
compositeC532 :: Parser Value
compositeC532 =
  composite "C532"
    [ "010" .@ optional  simple8395
    , "020" .@ optional  simple8393
    ]