PHP Класс ApaiIO\Operations\Search

См. также: http://docs.aws.amazon.com/AWSECommerceService/2011-08-01/DG/ItemSearch.html
Автор: Jan Eichhorn ([email protected])
Наследование: extends AbstractOperation
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getAvailability ( ) : string Returns the availability.
getBrowseNode ( ) : integer Returns the browseNodeId
getCategory ( ) : string Return the amazon category
getCondition ( ) : string Returns the condition of the items to return. New | Used | Collectible | Refurbished | All
getKeywords ( ) : string Returns the keywords
getMaximumPrice ( ) : mixed Returns the maximum price as integer so 8.99$ will be returned as 899
getMinimumPrice ( ) : integer Return the minimum price as integer so 8.99$ will be returned as 899
getName ( )
getPage ( ) : integer Return the resultpage
setAvailability ( string $availability ) : Search Sets the availability. Don't use method if you want the default Amazon behaviour.
setBrowseNode ( integer $browseNodeId ) : Search Sets the browseNodeId
setCategory ( string $category ) : Search Sets the amazon category
setCondition ( string $condition ) : Search Sets the condition of the items to return: New | Used | Collectible | Refurbished | All
setKeywords ( string $keywords ) : Search Sets the keywords
setMaximumPrice ( integer $price ) : Search 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
setMinimumPrice ( integer $price ) : Search 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
setPage ( integer $page ) : Search Sets the resultpage to a specified value Allows to browse resultsets which have more than one page

Защищенные методы

Метод Описание
validatePrice ( integer $price ) Validates the given price.

Описание методов

getAvailability() публичный Метод

Returns the availability.
public getAvailability ( ) : string
Результат string

getBrowseNode() публичный Метод

Returns the browseNodeId
public getBrowseNode ( ) : integer
Результат integer

getCategory() публичный Метод

Return the amazon category
public getCategory ( ) : string
Результат string

getCondition() публичный Метод

Returns the condition of the items to return. New | Used | Collectible | Refurbished | All
public getCondition ( ) : string
Результат string

getKeywords() публичный Метод

Returns the keywords
public getKeywords ( ) : string
Результат string

getMaximumPrice() публичный Метод

Returns the maximum price as integer so 8.99$ will be returned as 899
public getMaximumPrice ( ) : mixed
Результат mixed

getMinimumPrice() публичный Метод

Return the minimum price as integer so 8.99$ will be returned as 899
public getMinimumPrice ( ) : integer
Результат integer

getName() публичный Метод

public getName ( )

getPage() публичный Метод

Return the resultpage
public getPage ( ) : integer
Результат integer

setAvailability() публичный Метод

Only valid value = Available
См. также: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/CHAP_ReturningPriceAndAvailabilityInformation-itemsearch.html
public setAvailability ( string $availability ) : Search
$availability string
Результат Search

setBrowseNode() публичный Метод

Sets the browseNodeId
public setBrowseNode ( integer $browseNodeId ) : Search
$browseNodeId integer
Результат Search

setCategory() публичный Метод

Sets the amazon category
public setCategory ( string $category ) : Search
$category string
Результат Search

setCondition() публичный Метод

Defaults to New.
public setCondition ( string $condition ) : Search
$condition string
Результат Search

setKeywords() публичный Метод

Sets the keywords
public setKeywords ( string $keywords ) : Search
$keywords string
Результат Search

setMaximumPrice() публичный Метод

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
Результат Search

setMinimumPrice() публичный Метод

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
Результат Search

setPage() публичный Метод

Sets the resultpage to a specified value Allows to browse resultsets which have more than one page
public setPage ( integer $page ) : Search
$page integer
Результат Search

validatePrice() защищенный Метод

Validates the given price.
protected validatePrice ( integer $price )
$price integer