<?php
namespace App\Amadeus\FileParser;

class Line_B extends \App\Amadeus\FileParser\LineAbstract
{
	/**
	 * 4.15.B- Ticketing Input
	 * see page 79
	 *
	 * To transmit all of the options that are included by the Ticket Agent in the ticketing input stream (TTP),
	 * 	EMD issuance input stream (TTM/ED), combined ticketing and EMD input stream (TTP/TTM/ED), Back Office Input Stream (BT),
	 * 	IMR (BZ), Manual Registration (TRMD), Car Voucher Print (CVP) or Invoice input stream (INV).
	 */
	protected $structure = [
		['name'=> 'MSGTAG',  'val' => 'B-',    'type' => 'AN',   'req' => 'M',  'len' => 2,],                          // 1 : Message Tag (B-)
		['name'=> 'ENTRY',                     'type' => 'AN',   'req' => 'M',  'len_min' => 2,   'len_max' => 100,],  // 2 : Ticketing or back office input command entry
	];
}
