<?php
namespace App\Amadeus\FileParser;

class Line_FD extends \App\Amadeus\FileParser\LineAbstract
{
	/**
	 * 4.122. FD Fare Discount Element
	 * see page 312(354)
	 *
	 * DETAILS
	 */
	protected $structure = [
		['name'=> 'MSGTAG',  'val' => 'FD',    'type' => 'AN',      'req' => 'M',  'len' => 2,],                          // 1 : Message Tag (FD)
		['name'=> 'MISC',                      'type' => 'AN',      'req' => 'M',  'len_min' => 1,   'len_max' => 127,],  // 2 : Fare Discount Element Information
		['name'=> 'SEGASS',  'val' => ';S',    'type' => 'ASSOC',],
		['name'=> 'PSGASS',  'val' => ';P',    'type' => 'ASSOC',],
	];
}
