<?php
namespace App\Bsp\Hot230\Lines\Transaction; class BKS46 extends \App\Bsp\Hot230\HOTBase { protected $children = [ [ 'key'=>'SMSG', 'type'=>'Constant', 'val'=>'BKS', 'len'=>3, 'label'=>'Standard Message Identifier', ], [ 'key'=>'SQNR', 'type'=>'Integer', 'len'=>8, 'label'=>'Sequence Number', ], [ 'key'=>'STNQ', 'type'=>'Constant', 'val'=>'46', 'len'=>2, 'label'=>'Standard Numeric Qualifier', ], [ 'key'=>'DAIS', 'type'=>'Date', 'fmt'=>'YYMMDD', 'len'=>6, 'label'=>'Date of Issue', ], [ 'key'=>'TRNN', 'type'=>'Integer', 'len'=>6, 'label'=>'Transaction Number', ], [ 'key'=>'TDNR_airline', 'type'=>'StringRaw', 'len'=>3, 'label'=>'Ticket/Document Number(airline number)', ], [ 'key'=>'TDNR_ticketNumber', 'type'=>'StringRaw', 'len'=>10, 'label'=>'Ticket/Document Number', ], [ 'key'=>'TDNR_extra', 'type'=>'StringRaw', 'len'=>1, 'label'=>'Ticket/Document Number(extra digits)', ], [ 'key'=>'CDGT', 'type'=>'Digits', 'len'=>1, 'label'=>'Check-Digit', ], [ 'key'=>'ORIT', 'type'=>'StringTrim', 'len'=>14, 'label'=>'Original Issue Ticket/document number', ], [ 'key'=>'ORIL', 'type'=>'StringTrim', 'len'=>3, 'label'=>'Original Issue Location - City code', ], [ 'key'=>'ORID', 'type'=>'Date', 'fmt'=>'DDMMMYY', 'allowSpaces'=>true, 'len'=>7, 'label'=>'Original Issue Date', ], [ 'key'=>'ORIA', 'type'=>'StringRaw', 'len'=>8, 'label'=>'Original Issue Agent numeric code', ], [ 'key'=>'ENRS', 'type'=>'StringTrim', 'len'=>49, 'label'=>'Endorsements/Restrictions', ], [ 'key'=>'RESD', 'type'=>'StringTrim', 'len'=>15, 'label'=>'Reserved Space', ], ]; } 