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

/**
 * Data line
 * @author Lucian Sirbu
 */
class Data_A17PS extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * PAYMENT ITEM
	 */

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A17FCP',  'type'=>'Constant', 'len'=>3, 'val'=>'PS:',  'label'=>'PAYMENT ITEM ID "PS:"' ],
		[ 'key'=>'A17SEG',  'type'=>'Integer',  'len'=>2,                'label'=>'LEISURESHOPPER SEGMENT NUMBER' ],
		[ 'key'=>'A17CCU',  'type'=>'Letters',  'len'=>3,                'label'=>'CURRENCY CODE FOR PAYMENT' ],
		[ 'key'=>'A17CCA',  'type'=>'Integer',  'len'=>12,               'label'=>'AMOUNT OF PAYMENT' ],
		[ 'key'=>'A17CCT',  'type'=>'Letters',  'len'=>2,                'label'=>'CREDIT CARD TYPE' ],
		[ 'key'=>'A17CCN',  'type'=>'Integer',  'len'=>16,               'label'=>'CREDIT CARD NUMBER' ],
		[ 'key'=>'A17CCE',  'type'=>'Date',     'len'=>7,                'label'=>'CREDIT CARD EXPIRATION DATE' ],
		[ 'key'=>'A17CNP',  'type'=>'Letters',  'len'=>27,               'label'=>'NAME OF CREDIT CARD OWNER' ],
		[ 'key'=>'A17PID',  'type'=>'Date',     'len'=>7,                'label'=>'PAYMENT ISSUANCE DATE' ],
		[ 'key'=>'A17OFP',  'type'=>'StringRaw',   'len'=>19,               'label'=>'ORIGINAL FORM OF PAYMENT' ],
		[ 'key'=>'A17OPT',  'type'=>'StringRaw',   'len'=>22,               'label'=>'OTHER PAYMENT TYPE NUMBER' ],
	];
}
