@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * @param int $merchantID |
| 83 | - * @return array of Deal |
|
| 83 | + * @return DealsResultset of Deal |
|
| 84 | 84 | */ |
| 85 | 85 | public function getDeals($merchantID = NULL, int $page = 0, int $items_per_page = 10): DealsResultset |
| 86 | 86 | { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | /** |
| 122 | 122 | * @param \DateTime $dateFrom |
| 123 | 123 | * @param \DateTime $dateTo |
| 124 | - * @param int $merchantID |
|
| 124 | + * @param int $arrMerchantID |
|
| 125 | 125 | * @return array of Transaction |
| 126 | 126 | */ |
| 127 | 127 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()): array |
@@ -181,6 +181,7 @@ discard block |
||
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | 183 | * Api call CommissionJunction |
| 184 | + * @param string $url |
|
| 184 | 185 | */ |
| 185 | 186 | private function _apiCall($url) |
| 186 | 187 | { |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 6 | -use Padosoft\AffiliateNetwork\Merchant; |
|
| 7 | -use Padosoft\AffiliateNetwork\Stat; |
|
| 8 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 9 | 5 | use Padosoft\AffiliateNetwork\AbstractNetwork; |
| 10 | -use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 11 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 8 | +use Padosoft\AffiliateNetwork\Merchant; |
|
| 9 | +use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 12 | 10 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 11 | +use Padosoft\AffiliateNetwork\Stat; |
|
| 12 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 13 | 13 | |
| 14 | 14 | // require "../vendor/fubralimited/php-oara/Oara/Network/Publisher/CommissionJunction/Zapi/ApiClient.php"; |
| 15 | 15 | |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 6 | -use Padosoft\AffiliateNetwork\Merchant; |
|
| 7 | -use Padosoft\AffiliateNetwork\Stat; |
|
| 8 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 9 | 5 | use Padosoft\AffiliateNetwork\AbstractNetwork; |
| 10 | -use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 11 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 8 | +use Padosoft\AffiliateNetwork\Merchant; |
|
| 9 | +use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 12 | 10 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 11 | +use Padosoft\AffiliateNetwork\Stat; |
|
| 12 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 13 | 13 | |
| 14 | 14 | // require "../vendor/fubralimited/php-oara/Oara/Network/Publisher/Effiliation/Zapi/ApiClient.php"; |
| 15 | 15 | |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | +use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 5 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 6 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 7 | 8 | use Padosoft\AffiliateNetwork\Merchant; |
| 8 | -use Padosoft\AffiliateNetwork\Stat; |
|
| 9 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 10 | -use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 11 | -use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 12 | 9 | use Padosoft\AffiliateNetwork\NetAffiliationEx; |
| 10 | +use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 13 | 11 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 12 | +use Padosoft\AffiliateNetwork\Stat; |
|
| 13 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 14 | 14 | |
| 15 | 15 | if (!defined('COOKIES_BASE_DIR')){ |
| 16 | 16 | define('COOKIES_BASE_DIR',public_path('upload/report')); |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 6 | -use Padosoft\AffiliateNetwork\Merchant; |
|
| 7 | -use Padosoft\AffiliateNetwork\Stat; |
|
| 8 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 9 | 5 | use Padosoft\AffiliateNetwork\AbstractNetwork; |
| 10 | -use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 11 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 8 | +use Padosoft\AffiliateNetwork\Merchant; |
|
| 9 | +use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 12 | 10 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 11 | +use Padosoft\AffiliateNetwork\Stat; |
|
| 12 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 13 | 13 | |
| 14 | 14 | // require "../vendor/fubralimited/php-oara/Oara/Network/Publisher/Publicideas/Zapi/ApiClient.php"; |
| 15 | 15 | |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 5 | +use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 6 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 7 | 8 | use Padosoft\AffiliateNetwork\Merchant; |
| 8 | -use Padosoft\AffiliateNetwork\Stat; |
|
| 9 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 10 | -use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 11 | 9 | use Padosoft\AffiliateNetwork\NetworkInterface; |
| 12 | -use Padosoft\AffiliateNetwork\TradeDoublerEx; |
|
| 13 | 10 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 11 | +use Padosoft\AffiliateNetwork\Stat; |
|
| 12 | +use Padosoft\AffiliateNetwork\TradeDoublerEx; |
|
| 13 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 14 | 14 | |
| 15 | 15 | if (!defined('COOKIES_BASE_DIR')){ |
| 16 | 16 | define('COOKIES_BASE_DIR',public_path('upload/report')); |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 5 | +use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 6 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 7 | 8 | use Padosoft\AffiliateNetwork\Merchant; |
| 8 | -use Padosoft\AffiliateNetwork\Stat; |
|
| 9 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 10 | -use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 11 | 9 | use Padosoft\AffiliateNetwork\NetworkInterface; |
| 12 | 10 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 11 | +use Padosoft\AffiliateNetwork\Stat; |
|
| 12 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Class WebGains |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\AffiliateNetwork\Networks; |
| 4 | 4 | |
| 5 | +use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 6 | +use Padosoft\AffiliateNetwork\Deal; |
|
| 5 | 7 | use Padosoft\AffiliateNetwork\DealsResultset; |
| 8 | +use Padosoft\AffiliateNetwork\Merchant; |
|
| 9 | +use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 6 | 10 | use Padosoft\AffiliateNetwork\Product; |
| 7 | 11 | use Padosoft\AffiliateNetwork\ProductsResultset; |
| 8 | -use Padosoft\AffiliateNetwork\Transaction; |
|
| 9 | -use Padosoft\AffiliateNetwork\Merchant; |
|
| 10 | 12 | use Padosoft\AffiliateNetwork\Stat; |
| 11 | -use Padosoft\AffiliateNetwork\Deal; |
|
| 12 | -use Padosoft\AffiliateNetwork\AbstractNetwork; |
|
| 13 | -use Padosoft\AffiliateNetwork\NetworkInterface; |
|
| 13 | +use Padosoft\AffiliateNetwork\Transaction; |
|
| 14 | 14 | use Padosoft\AffiliateNetwork\ZanoxEx; |
| 15 | 15 | |
| 16 | 16 | // require "../vendor/fubralimited/php-oara/Oara/Network/Publisher/Zanox/Zapi/ApiClient.php"; |