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

/**
 * Line parser
 * @author Lucian Sirbu
 */
class BCC82 extends \App\Bsp\HotUA\HOTBase
{
	protected $children = [
		['key'=>'SMSG',                 'type'=>'Constant', 'val'=>'BCC',       'len'=>3,      'label'=>'Standard Message Identifier'],              // X/M/Standard Message Identifier
		['key'=>'SQNR',                 'type'=>'Integer',                      'len'=>8,      'label'=>'Sequence Number'],                          // X/M/Sequence Number
		['key'=>'STNQ',                 'type'=>'Constant', 'val'=>'82',        'len'=>2,      'label'=>'Standard Numeric Qualifier'],               // X/M/Standard Numeric Qualifier
		['key'=>'DAIS',                 'type'=>'Date',     'fmt'=>'YYMMDD',    'len'=>6,      'label'=>'Date of Issue'],                            // X/M/Date of Issue
		['key'=>'TRNN',                 'type'=>'Integer',                      'len'=>6,      'label'=>'Transaction Number'],                       // X/M/Transaction Number
		['key'=>'FPTP',                 'type'=>'StringTrim',                   'len'=>10,     'label'=>'Form of payment type'],
		['key'=>'FPTI',                 'type'=>'StringTrim',                   'len'=>25,     'label'=>'Form of payment transaction identifier'],
		['key'=>'RESD',                 'type'=>'StringTrim',                   'len'=>76,     'label'=>'Reserved Space'],                           //  /M/Reserved Space
	];
}
