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

/**
 * Data line
 * @author Lucian Sirbu
 */
class Data_A17FT extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * FARE INFORMATION FOR TOURS
	 */

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A17FTR',  'val'=>'FT:',       'type'=>'Constant', 'len'=>3,      'label'=>'TOUR FARE IDENTIFIER' ],
		[ 'key'=>'A17CCD',                      'type'=>'Currency', 'len'=>3,      'label'=>'CURRENCY CODE' ],
		[ 'key'=>'A17BSP',                      'type'=>'Integer',  'len'=>12,     'label'=>'BASE PRICE' ],
		[ 'key'=>'A17OPP',                      'type'=>'Integer',  'len'=>12,     'label'=>'OPTION PRICE' ],
		[ 'key'=>'A17TX1',                      'type'=>'Integer',  'len'=>8,      'label'=>'TAX 1' ],
		[ 'key'=>'A17TX2',                      'type'=>'Integer',  'len'=>8,      'label'=>'TAX 2' ],
		[ 'key'=>'A17TX3',                      'type'=>'Integer',  'len'=>8,      'label'=>'TAX 3' ],
		[ 'key'=>'A17TTL',                      'type'=>'Integer',  'len'=>12,     'label'=>'TOTAL AMOUNT' ],
		[ 'key'=>'A17COM',                      'type'=>'Integer',  'len'=>8,      'label'=>'AGENCY COMMISSION' ],
		[ 'key'=>'A17CXL',                      'type'=>'Integer',  'len'=>12,     'label'=>'CANCELLATION FEE' ],
		[ 'key'=>'A17DDD',                      'type'=>'Date',     'len'=>7,      'label'=>'DATE DEPOSIT DUE' ],
		[ 'key'=>'A17DPD',                      'type'=>'Integer',  'len'=>12,     'label'=>'DEPOSIT AMOUNT DUE' ],
		[ 'key'=>'A17DDR',                      'type'=>'Date',     'len'=>7,      'label'=>'DATE DEPOSIT RECEIVED' ],
		[ 'key'=>'A17DBD',                      'type'=>'Date',     'len'=>7,      'label'=>'DATE BALANCE DUE' ],
		[ 'key'=>'A17CFN',                      'type'=>'StringRaw',   'len'=>16,     'label'=>'CONFIRMATION NUMBER' ],
		[ 'key'=>'A17SGL',                      'type'=>'Integer',  'len'=>2,      'label'=>'NUMBER OF SINGLE ROOMS' ],
		[ 'key'=>'A17DBL',                      'type'=>'Integer',  'len'=>2,      'label'=>'NUMBER OF DOUBLE ROOMS' ],
		[ 'key'=>'A17TPL',                      'type'=>'Integer',  'len'=>2,      'label'=>'NUMBER OF TRIPLE ROOMS' ],
		[ 'key'=>'A17QDL',                      'type'=>'Integer',  'len'=>2,      'label'=>'NUMBER OF QUAD ROOMS' ],
		[ 'key'=>'A17OTH',                      'type'=>'Integer',  'len'=>2,      'label'=>'NUMBER OF OTHER ROOMS' ],
		[ 'key'=>'A17VEN',                      'type'=>'Letters',  'len'=>30,     'label'=>'VENDOR NAME' ],
	];
}
