<?php
namespace App\Galileo\LineParser\Types;

/**
 * Data line
 * @author Lucian Sirbu
 */
class Data_A21 extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * NET REMIT
	 */

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A21SEC',  'type'=>'Constant', 'len'=>3, 'val'=>'A21',  'label'=>'NET REMIT SECTION LABEL "A21"' ],
		[ 'key'=>'A21NFC',  'type'=>'Letters',  'len'=>3,                'label'=>'NET FARE/NET REMIT CURRENCY CODE' ],
		[ 'key'=>'A21NRT',  'type'=>'Integer',  'len'=>12,               'label'=>'NET FARE/NET REMIT AMOUNT' ],
		[ 'key'=>'A21NAI',  'type'=>'StringRaw',   'len'=>20,               'label'=>'COMMERCIAL AGREEMENT REFERENCE' ],
		[ 'key'=>'A21NVC',  'type'=>'StringRaw',   'len'=>20,               'label'=>'VALUE CODE - C' ],
		[ 'key'=>'A21ITC',  'type'=>'Integer',  'len'=>12,               'label'=>'ACTUAL SELLING FARE - C' ],
		[ 'key'=>'A21NFR',  'type'=>'StringRaw',   'len'=>3,                'label'=>'NET FARE REGION CODE' ],
	];
}
