Skip to content

Commit

Permalink
Merge pull request #8 from Plasma-Platform/tmone-303_free-items
Browse files Browse the repository at this point in the history
add included_free param to getTemplatesList
  • Loading branch information
bumblebeeTM authored Nov 9, 2020
2 parents 3b0291e + b903ed1 commit 2c4fc18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/API2Client/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,13 @@ public function getTemplatesCount ()
* @param null $dateFrom
* @param null $dateTo
* @param array $properties
* @param int $includedFree
* @return mixed
* @throws ApiException
*/
public function getTemplatesList ($offset = 0, $limit = 20, $dateFrom = null, $dateTo = null, $properties = array ())
public function getTemplatesList ($offset = 0, $limit = 20, $dateFrom = null, $dateTo = null, $properties = array (), $includedFree = 0 )
{
$params = array ('start' => $offset, 'count' => $limit);
$params = array ('start' => $offset, 'count' => $limit, 'includedFree' => $includedFree );

if ($properties)
{
Expand Down

0 comments on commit 2c4fc18

Please sign in to comment.