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 ) : |
||
$price | integer | |
return |
public function testGetMinimumPrice() { $search = new Search(); static::assertEquals(null, $search->getMinimumPrice()); $search->setMinimumPrice(899); static::assertEquals(899, $search->getMinimumPrice()); }
/** * @expectedException InvalidArgumentException */ public function testMinimumPriceException() { $search = new Search(); $search->setMinimumPrice('helloworld'); }