PHP Class ApaiIO\Operations\Lookup

See also: http://docs.aws.amazon.com/AWSECommerceService/2011-08-01/DG/ItemLookup.html
Author: Jan Eichhorn ([email protected])
Inheritance: extends AbstractOperation
ファイルを表示 Open project: exeu/apai-io Class Usage Examples

Public Methods

Method Description
getCondition ( ) : string Returns the condition of the items to return. New | Used | Collectible | Refurbished | All
getIdType ( ) : string Returns the idtype either ASIN (Default), SKU, UPC, EAN, and ISBN
getItemId ( ) : string Returns the itemid
getName ( )
getSearchIndex ( ) : mixed Returns the searchindex
setCondition ( string $condition ) : Search Sets the condition of the items to return: New | Used | Collectible | Refurbished | All
setIdType ( string $idType ) : Lookup Sets the idtype either ASIN (Default), SKU, UPC, EAN, and ISBN
setItemId ( string $itemId ) : Lookup Sets the itemid which should be looked up
setItemIds ( array $itemIds ) : Lookup Pass up to 10 itemid's which should be looked up
setSearchIndex ( string $searchIndex ) : Lookup Sets the searchindex which should be used when set IdType other than ASIN

Method Details

getCondition() public method

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

getIdType() public method

Returns the idtype either ASIN (Default), SKU, UPC, EAN, and ISBN
public getIdType ( ) : string
return string

getItemId() public method

Returns the itemid
public getItemId ( ) : string
return string

getName() public method

public getName ( )

getSearchIndex() public method

Returns the searchindex
public getSearchIndex ( ) : mixed
return mixed

setCondition() public method

Defaults to New.
public setCondition ( string $condition ) : Search
$condition string
return Search

setIdType() public method

Sets the idtype either ASIN (Default), SKU, UPC, EAN, and ISBN
public setIdType ( string $idType ) : Lookup
$idType string
return Lookup

setItemId() public method

Sets the itemid which should be looked up
public setItemId ( string $itemId ) : Lookup
$itemId string
return Lookup

setItemIds() public method

Pass up to 10 itemid's which should be looked up
public setItemIds ( array $itemIds ) : Lookup
$itemIds array
return Lookup

setSearchIndex() public method

Sets the searchindex which should be used when set IdType other than ASIN
public setSearchIndex ( string $searchIndex ) : Lookup
$searchIndex string
return Lookup