<?php
namespace App\Amadeus\FileParser;

class Line_IGRP extends \App\Amadeus\FileParser\LineAbstract
{
	/**
	 * 4.97. I- Group Name
	 * see page 264(306)
	 *
	 * This line item is used to transmit group name data.
	 */
	protected $structure = [
		['name'=> 'MSGTAG',  'val' => 'I-GRP', 'type' => 'AN',   'req' => 'M',  'len' => 5,],  // 1 : Message Tag (I-)
		['name'=> 'GRPNBR',                    'type' => 'N',    'req' => 'M',  'len' => 2,],  // 3 : Total Number in Group
		['name'=> 'GRPNME',                    'type' => 'AN',   'req' => 'M',],               // 4 : Group Name
	];
}
