ApaiIO\Operations\Search::setMaximumPrice PHP Method

setMaximumPrice() public method

Sets the maximum 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 setMaximumPrice ( integer $price ) : Search
$price integer
return Search
    public function setMaximumPrice($price)
    {
        $this->validatePrice($price);
        $this->parameters['MaximumPrice'] = $price;
        return $this;
    }

Usage Example

Exemplo n.º 1
0
 public function testMaximumPriceGetterAndSetter()
 {
     $search = new Search();
     $object = $search->setMaximumPrice(100);
     $this->assertSame($search, $object);
     $this->assertEquals(100, $search->getMaximumPrice());
 }
All Usage Examples Of ApaiIO\Operations\Search::setMaximumPrice