ApaiIO\Operations\Search::setMinimumPrice PHP Method

setMinimumPrice() public method

Sets the minimum price to a specified value for the search Currency will be given by the site you are querying: EUR for IT, USD for COM Price should be given as integer. 8.99$ USD becomes 899
public setMinimumPrice ( integer $price ) : Search
$price integer
return Search
    public function setMinimumPrice($price)
    {
        $this->validatePrice($price);
        $this->parameters['MinimumPrice'] = $price;
        return $this;
    }

Usage Example

コード例 #1
0
ファイル: SearchTest.php プロジェクト: HEAR/2016-db.print
 public function testGetMinimumPrice()
 {
     $search = new Search();
     static::assertEquals(null, $search->getMinimumPrice());
     $search->setMinimumPrice(899);
     static::assertEquals(899, $search->getMinimumPrice());
 }
All Usage Examples Of ApaiIO\Operations\Search::setMinimumPrice