public function getMerchantList()
{
$merchants = array();
$exportMerchantParameters = array(new \Oara\Curl\Parameter('user', $this->_exportUser), new \Oara\Curl\Parameter('pwd', $this->_exportPassword), new \Oara\Curl\Parameter('type', 'csv'));
$urls = array();
$urls[] = new \Oara\Curl\Request($this->_serverUrl . 'Feeds/Merchantfeed.aspx?', $exportMerchantParameters);
$result = $this->_client->get($urls);
$exportData = \str_getcsv($result[0], "\n");
$num = \count($exportData);
for ($i = 1; $i < $num; $i++) {
$transactionMerchantArray = \str_getcsv($exportData[$i], ",");
$obj = array();
$obj['cid'] = $transactionMerchantArray[4];
$obj['name'] = "{$transactionMerchantArray['1']} ({$transactionMerchantArray['5']})";
$merchants[] = $obj;
}
return $merchants;
}