PHP 클래스 ApaiIO\Operations\Search

또한 보기: http://docs.aws.amazon.com/AWSECommerceService/2011-08-01/DG/ItemSearch.html
저자: Jan Eichhorn ([email protected])
상속: extends AbstractOperation
파일 보기 프로젝트 열기: exeu/apai-io 1 사용 예제들

공개 메소드들

메소드 설명
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