PHP Class ApaiIO\Operations\Search

See also: http://docs.aws.amazon.com/AWSECommerceService/2011-08-01/DG/ItemSearch.html
Author: Jan Eichhorn ([email protected])
Inheritance: extends AbstractOperation
Afficher le fichier Open project: exeu/apai-io Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
validatePrice ( integer $price ) Validates the given price.

Method Details

getAvailability() public méthode

Returns the availability.
public getAvailability ( ) : string
Résultat string

getBrowseNode() public méthode

Returns the browseNodeId
public getBrowseNode ( ) : integer
Résultat integer

getCategory() public méthode

Return the amazon category
public getCategory ( ) : string
Résultat string

getCondition() public méthode

Returns the condition of the items to return. New | Used | Collectible | Refurbished | All
public getCondition ( ) : string
Résultat string

getKeywords() public méthode

Returns the keywords
public getKeywords ( ) : string
Résultat string

getMaximumPrice() public méthode

Returns the maximum price as integer so 8.99$ will be returned as 899
public getMaximumPrice ( ) : mixed
Résultat mixed

getMinimumPrice() public méthode

Return the minimum price as integer so 8.99$ will be returned as 899
public getMinimumPrice ( ) : integer
Résultat integer

getName() public méthode

public getName ( )

getPage() public méthode

Return the resultpage
public getPage ( ) : integer
Résultat integer

setAvailability() public méthode

Only valid value = Available
See also: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/CHAP_ReturningPriceAndAvailabilityInformation-itemsearch.html
public setAvailability ( string $availability ) : Search
$availability string
Résultat Search

setBrowseNode() public méthode

Sets the browseNodeId
public setBrowseNode ( integer $browseNodeId ) : Search
$browseNodeId integer
Résultat Search

setCategory() public méthode

Sets the amazon category
public setCategory ( string $category ) : Search
$category string
Résultat Search

setCondition() public méthode

Defaults to New.
public setCondition ( string $condition ) : Search
$condition string
Résultat Search

setKeywords() public méthode

Sets the keywords
public setKeywords ( string $keywords ) : Search
$keywords string
Résultat Search

setMaximumPrice() public méthode

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
Résultat Search

setMinimumPrice() public méthode

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
Résultat Search

setPage() public méthode

Sets the resultpage to a specified value Allows to browse resultsets which have more than one page
public setPage ( integer $page ) : Search
$page integer
Résultat Search

validatePrice() protected méthode

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