Skip to content

Commit

Permalink
Merge pull request #25 from bookboon/feature/premiumLevel
Browse files Browse the repository at this point in the history
getter for premiumLevel
  • Loading branch information
lkm authored Dec 20, 2018
2 parents 144fbda + 878d67a commit 8cb6a93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Entity/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,16 @@ public function getPriceLevel()
return $this->safeGet('priceLevel');
}

/**
* Return price level set on book.
*
* @return int
*/
public function getPremiumLevel()
{
return $this->safeGet('premiumLevel');
}

/**
* Return book version.
*
Expand Down

0 comments on commit 8cb6a93

Please sign in to comment.