Skip to content

Commit 2c4fc18

Browse files
authored
Merge pull request #8 from Plasma-Platform/tmone-303_free-items
add included_free param to getTemplatesList
2 parents 3b0291e + b903ed1 commit 2c4fc18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/API2Client/Api.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,13 @@ public function getTemplatesCount ()
7777
* @param null $dateFrom
7878
* @param null $dateTo
7979
* @param array $properties
80+
* @param int $includedFree
8081
* @return mixed
8182
* @throws ApiException
8283
*/
83-
public function getTemplatesList ($offset = 0, $limit = 20, $dateFrom = null, $dateTo = null, $properties = array ())
84+
public function getTemplatesList ($offset = 0, $limit = 20, $dateFrom = null, $dateTo = null, $properties = array (), $includedFree = 0 )
8485
{
85-
$params = array ('start' => $offset, 'count' => $limit);
86+
$params = array ('start' => $offset, 'count' => $limit, 'includedFree' => $includedFree );
8687

8788
if ($properties)
8889
{

0 commit comments

Comments
 (0)