<?php
namespace App\Apollo\LineParser\Types; class Data_A02 extends \App\Galileo\LineParser\Types\Data_A02 { protected $children = [ [ 'key'=>'A02SEC', 'type'=>'Constant', 'len'=>3, 'val'=>'A02', 'label'=>'SECTION LABEL "A02"' ], [ 'key'=>'A02NME', 'type'=>'StringTrim', 'len'=>33, 'label'=>'PASSENGER NAME' ], [ 'key'=>'A02TRN', 'type'=>'StringTrim', 'len'=>11, 'label'=>'TRANSACTION NUMBER' ], [ 'key'=>'A02TIN', 'label'=>'TICKET/INVOICE NUMBERS', 'children' => [ [ 'key'=>'A02YIN', 'type'=>'Integer', 'len'=>1, 'label'=>'YEAR INDICATOR' ], [ 'key'=>'A02TKT', 'type'=>'StringRTrim', 'len'=>10, 'label'=>'TICKET NUMBER' ], [ 'key'=>'A02NBK', 'type'=>'Integer', 'len'=>2, 'label'=>'NUMBER OF TICKET BOOKS' ], [ 'key'=>'A02INV', 'type'=>'StringRaw', 'len'=>9, 'label'=>'INVOICE NUMBER' ], ]], [ 'key'=>'A02PIC', 'type'=>'StringRaw', 'len'=>6, 'label'=>'PASSENGER IDENTIFICATION CODE/DESCRIPTION - * PIC' ], [ 'key'=>'A02FIN', 'type'=>'Integer', 'len'=>2, 'label'=>'ASSOCIATED FARE ITEM NUMBER FOR PASSENGER' ], [ 'key'=>'A02EIN', 'type'=>'Integer', 'len'=>2, 'label'=>'ASSOCIATED EXCHANGE ITEM NUMBER FOR PASSENGER' ], ]; } 