<?php
namespace App\Bsp\Hot230\Lines\Transaction;

/**
 * Line parser
 * @author Lucian Sirbu
 */
class BKT06 extends \App\Bsp\Hot230\HOTBase
{
	protected $children = [
		[ 'key'=>'SMSG',  'type'=>'Constant', 'val'=>'BKT',  'len'=>3,      'label'=>'Standard Message Identifier', ],    // S/M/Standard Message Identifier
		[ 'key'=>'SQNR',  'type'=>'Integer',                 'len'=>8,      'label'=>'Sequence Number', ],                // S/M/Sequence Number
		[ 'key'=>'STNQ',  'type'=>'Constant', 'val'=>'06',   'len'=>2,      'label'=>'Standard Numeric Qualifier', ],     // S/M/Standard Numeric Qualifier
		[ 'key'=>'TRNN',  'type'=>'Integer',                 'len'=>6,      'label'=>'Transaction Number', ],             // S/M/Transaction Number
		[ 'key'=>'NRID',  'type'=>'StringRaw',                  'len'=>2,      'label'=>'Net Reporting Indicator', ],        // S/C/Net Reporting Indicator
		[ 'key'=>'TREC',  'type'=>'Integer',                 'len'=>3,      'label'=>'Transaction Record Counter', ],     // S/M/Transaction Record Counter
		[ 'key'=>'TACN',  'type'=>'StringRaw',                  'len'=>3,      'label'=>'Ticketing Airline Code Number', ],  // S/M/Ticketing Airline Code Number
		[ 'key'=>'CARF',  'type'=>'StringRaw',                  'len'=>10,     'label'=>'Commercial Agreement Reference', ], // S/C/Commercial Agreement Reference
		[ 'key'=>'CSTF',  'type'=>'StringRaw',                  'len'=>27,     'label'=>'Customer File Reference', ],        // S/C/Customer File Reference
		[ 'key'=>'RPSI',  'type'=>'StringRaw',                  'len'=>4,      'label'=>'Reporting System Identifier', ],    // S/M/Reporting System Identifier
		[ 'key'=>'ESAC',  'type'=>'StringRaw',                  'len'=>14,     'label'=>'Settlement Authorization code', ],
		[ 'key'=>'DISI',  'type'=>'StringRaw',                  'len'=>1,      'label'=>'Data Input Status Indicator', ],    // S/C/Data Input Status Indicator
		[ 'key'=>'NRMI',  'type'=>'StringRaw',                  'len'=>1,      'label'=>'Net reporting method indicator', ],
		[ 'key'=>'NRCT',  'type'=>'StringRaw',                  'len'=>1,      'label'=>'Net reporting calculation type', ],
		[ 'key'=>'AREI',  'type'=>'StringRaw',                  'len'=>1,      'label'=>'Automatic repricing engine indicator', ],
		[ 'key'=>'RESD',  'type'=>'StringTrim',              'len'=>50,     'label'=>'Reserved Space', ],                 //  /M/Reserved Space
	];
}
