<?php
namespace App\Bsp\HotUA\Lines\Header;

/**
 * Line parser
 * @author Lucian Sirbu
 */
class BOH03 extends \App\Bsp\HotUA\HOTBase
{
	protected $children = [
		['key'=>'SMSG',  'type'=>'Constant', 'val'=>'BOH',       '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'=>'03',        'len'=>2,      'label'=>'Standard Numeric Qualifier'],     // S/M/Standard Numeric Qualifier
		['key'=>'AGTN',  'type'=>'Digits',                       'len'=>8,      'label'=>'Agent Numeric Code'],             // S/M/Agent Numeric Code
		['key'=>'RMED',  'type'=>'Date',     'fmt'=>'YYMMDD',    'len'=>6,      'label'=>'Remittance Period Ending Date'],  // S/M/Remittance Period Ending Date
		['key'=>'CUTP',  'type'=>'StringRaw',                       'len'=>3,      'label'=>'Currency Type'],                  // S/M/Currency Type
		['key'=>'CUTP_decimals','type'=>'Integer',               'len'=>1,      'label'=>'Currency Type(decimals)'],        // S/M/Currency Type
		['key'=>'MLOC',  'type'=>'StringRaw',                       'len'=>3,      'label'=>'Multi Location Identifier'],      // S/C/Multi Location Identifier
		['key'=>'RESD',  'type'=>'StringTrim',                   'len'=>102,     'label'=>'Reserved Space'],                 //  /M/Reserved Space
	];
}
