<?php
namespace App\Amadeus\FileParser;

class Line_SIA extends \App\Amadeus\FileParser\LineAbstract
{
	/**
	 * 4.83. SIA Supplementary Nego Data Line
	 * see page 244(286)
	 *
	 * This field contains supplementary nego data used in the ticketing of nego fares.
	 */
	protected $structure = [
		['name'=> 'MSGTAG',  'val' => 'SIA',   'type' => 'AN',   'req' => 'M',  'len' => 3,],                          // 1 : Message Tag (SIA)
		['name'=> 'SCHIND',                    'type' => 'AN',   'req' => 'M',  'len' => 1,],                          // 2 : Scheme Indicator
		['name'=> 'DELIM',   'val' => ';',     'type' => 'AN',   'req' => 'M',  'len' => 1,],                          // 3 : Delimiter (Constant value of ';')
		['name'=> 'REMLEV',                    'type' => 'AN',                  'len' => 1,],                          // 4 : Remittance Level
		['name'=> 'DELIM',   'val' => ';',     'type' => 'AN',   'req' => 'M',  'len' => 1,],                          // 5 : Delimiter (Constant value of ';')
		['name'=> 'FARETEXT',                  'type' => 'S:trim',              'len_min' => 1,   'len_max' => 7,],    // 6 : Fare Text
	];
}
