<?php
namespace App\Galileo\StructureParser\Structures\NDCEMD; class Extradata extends \App\Galileo\StructureParser\Structures\Base\Base { protected function _getData() { list($parsedStructure, $transactionType, $transactionIndexes, ) = $this->getTransactionDetails(); $item = new \App\Galileo\StructureParser\Types\Extradata(); $item->reasonCode = $parsedStructure['A14_NDC']['ExtraTransactions'][$transactionIndexes['kx']]['RemarksTransactionReason']['Anciliaries']['desc_']; $item->reasonCode_text = $parsedStructure['A14_NDC']['ExtraTransactions'][$transactionIndexes['kx']]['RemarksTransactionReason']['EMDTypeText']; return $item; } } 