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