| @@ 54-66 (lines=13) @@ | ||
| 51 | /** |
|
| 52 | * @return array of Merchants |
|
| 53 | */ |
|
| 54 | public function getMerchants() : array |
|
| 55 | { |
|
| 56 | $arrResult = array(); |
|
| 57 | $merchantList = $this->_network->getMerchantList(); |
|
| 58 | foreach($merchantList as $merchant) { |
|
| 59 | $Merchant = Merchant::createInstance(); |
|
| 60 | $Merchant->merchant_ID = $merchant['cid']; |
|
| 61 | $Merchant->name = $merchant['name']; |
|
| 62 | $arrResult[] = $Merchant; |
|
| 63 | } |
|
| 64 | ||
| 65 | return $arrResult; |
|
| 66 | } |
|
| 67 | ||
| 68 | /** |
|
| 69 | * @param int $merchantID |
|
| @@ 56-68 (lines=13) @@ | ||
| 53 | /** |
|
| 54 | * @return array of Merchants |
|
| 55 | */ |
|
| 56 | public function getMerchants() : array |
|
| 57 | { |
|
| 58 | $arrResult = array(); |
|
| 59 | $merchantList = $this->_network->getMerchantList(); |
|
| 60 | foreach($merchantList as $merchant) { |
|
| 61 | $Merchant = Merchant::createInstance(); |
|
| 62 | $Merchant->merchant_ID = $merchant['cid']; |
|
| 63 | $Merchant->name = $merchant['name']; |
|
| 64 | $arrResult[] = $Merchant; |
|
| 65 | } |
|
| 66 | ||
| 67 | return $arrResult; |
|
| 68 | } |
|
| 69 | ||
| 70 | /** |
|
| 71 | * @param int $merchantID |
|
| @@ 58-70 (lines=13) @@ | ||
| 55 | /** |
|
| 56 | * @return array of Merchants |
|
| 57 | */ |
|
| 58 | public function getMerchants() : array |
|
| 59 | { |
|
| 60 | $arrResult = array(); |
|
| 61 | $merchantList = $this->_network->getMerchantList(); |
|
| 62 | foreach($merchantList as $merchant) { |
|
| 63 | $Merchant = Merchant::createInstance(); |
|
| 64 | $Merchant->merchant_ID = $merchant['cid']; |
|
| 65 | $Merchant->name = $merchant['name']; |
|
| 66 | $arrResult[] = $Merchant; |
|
| 67 | } |
|
| 68 | ||
| 69 | return $arrResult; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param int $merchantID |
|