@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * @param \DateTime $dateFrom |
| 21 | 21 | * @param \DateTime $dateTo |
| 22 | - * @param int $merchantID |
|
| 22 | + * @param int $arrMerchantID |
|
| 23 | 23 | * @return array of Transaction |
| 24 | 24 | */ |
| 25 | 25 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array; |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | /** |
| 72 | 72 | * @param \DateTime $dateFrom |
| 73 | 73 | * @param \DateTime $dateTo |
| 74 | - * @param int $merchantID |
|
| 74 | + * @param int $arrMerchantID |
|
| 75 | 75 | * @return array of Transaction |
| 76 | 76 | */ |
| 77 | 77 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | /** |
| 106 | 106 | * @param \DateTime $dateFrom |
| 107 | 107 | * @param \DateTime $dateTo |
| 108 | - * @param int $merchantID |
|
| 108 | + * @param int $arrMerchantID |
|
| 109 | 109 | * |
| 110 | 110 | * @return array of Transaction |
| 111 | 111 | */ |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param int $merchantID |
| 74 | - * @return array of Deal |
|
| 74 | + * @return DealsResultset of Deal |
|
| 75 | 75 | */ |
| 76 | 76 | public function getDeals($merchantID=NULL,int $page=0,int $items_per_page=10 ): DealsResultset |
| 77 | 77 | { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * @param \DateTime $dateFrom |
| 109 | 109 | * @param \DateTime $dateTo |
| 110 | - * @param int $merchantID |
|
| 110 | + * @param int $arrMerchantID |
|
| 111 | 111 | * @return array of Transaction |
| 112 | 112 | */ |
| 113 | 113 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param int $merchantID |
| 74 | - * @return array of Deal |
|
| 74 | + * @return DealsResultset of Deal |
|
| 75 | 75 | */ |
| 76 | 76 | public function getDeals($merchantID=NULL,int $page=0,int $items_per_page=10 ): DealsResultset |
| 77 | 77 | { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * @param \DateTime $dateFrom |
| 109 | 109 | * @param \DateTime $dateTo |
| 110 | - * @param int $merchantID |
|
| 110 | + * @param int $arrMerchantID |
|
| 111 | 111 | * @return array of Transaction |
| 112 | 112 | */ |
| 113 | 113 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param int $merchantID |
| 74 | - * @return array of Deal |
|
| 74 | + * @return DealsResultset of Deal |
|
| 75 | 75 | */ |
| 76 | 76 | public function getDeals($merchantID=NULL,int $page=0,int $items_per_page=10 ): DealsResultset |
| 77 | 77 | { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * @param \DateTime $dateFrom |
| 109 | 109 | * @param \DateTime $dateTo |
| 110 | - * @param int $merchantID |
|
| 110 | + * @param int $arrMerchantID |
|
| 111 | 111 | * @return array of Transaction |
| 112 | 112 | */ |
| 113 | 113 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | /** |
| 106 | 106 | * @param \DateTime $dateFrom |
| 107 | 107 | * @param \DateTime $dateTo |
| 108 | - * @param int $merchantID |
|
| 108 | + * @param int $arrMerchantID |
|
| 109 | 109 | * |
| 110 | 110 | * @return array of Transaction |
| 111 | 111 | */ |
@@ -43,6 +43,9 @@ discard block |
||
| 43 | 43 | $this->login( $this->_username, $this->_password ); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $idSite |
|
| 48 | + */ |
|
| 46 | 49 | public function addAllowedSite($idSite){ |
| 47 | 50 | if (trim($idSite)!=''){ |
| 48 | 51 | $this->_network->addAllowedSite($idSite); |
@@ -147,7 +150,7 @@ discard block |
||
| 147 | 150 | /** |
| 148 | 151 | * @param \DateTime $dateFrom |
| 149 | 152 | * @param \DateTime $dateTo |
| 150 | - * @param int $merchantID |
|
| 153 | + * @param int $arrMerchantID |
|
| 151 | 154 | * @return array of Transaction |
| 152 | 155 | */ |
| 153 | 156 | public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
@@ -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 | { |