<?php
namespace App\Galileo\LineParser\Types;

class Data_A23XF extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * From TD-6622
	 *
	 * “XF” is PFC Tax ID (PFC= Passenger Facility Charge), which is charged by airports,
	 * 	so the ID is followed by an airport code (DFW=Dallas in this case) and the amount.
	 * 	The currency of this amount is the same as currency for other taxes
	 */
	protected $children = [
		[ 'key'=>'A23XFI',  'type'=>'Constant', 'len'=>3, 'val'=>'XF:', ],
		[ 'key'=>'A23XFT_airport',  'type'=>'StringTrim', 'len'=>3,   ],
		[ 'key'=>'A23XFT_amount',   'type'=>'Price',   ],
	];
}
