Service/Ebay/Finding/Search/Item.php
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http:framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- http:framework.zend.com/license/new-bsd New BSD License
- Package
- Zend_Service
- Subpackage
- Ebay
- Version
- $Id: Item.php 22824 2010-08-09 18:59:54Z renanbr $
\Zend_Service_Ebay_Finding_Search_Item
- Parent(s)
- \Zend_Service_Ebay_Finding_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- http:framework.zend.com/license/new-bsd New BSD License
- Uses
- \global\Zend_Service_Ebay_Finding_Abstract
Properties

array $_attributes = array()array()Details- Type
- array
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_attributes

\DOMElement $_dom- Type
- \DOMElement
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_dom

\DOMXPath $_xPath- Type
- \DOMXPath
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_xPath

boolean $autoPayIf false (or not specified), immediate payment is not requested. Buyers must have a PayPal account to purchase items that require immediate payment.
A seller can choose to require immediate payment for Fixed Price and Buy It Now listings, including eBay Stores Inventory listings. If a Buy It Now item ends as an auction (that is, if the Buy It Now option is removed due to bids being placed on the listing), the immediate payment requirement does not apply.
- Type
- boolean

integer $charityId- Type
- integer

float $distanceThe unit for distance varies by site, and is either miles or kilometers. If the country whose site you are searching uses kilometers to measure distance (for example, India/EBAY-IN), the unit is kilometers. If the site is either the US or UK, the distance unit is miles.
This value is only returned for distance-based searches. You must specify a buyerPostalCode and either sort by Distance, or use a combination of the MaxDistance LocalSearch itemFilters.
- Type
- float

string[] $galleryPlusPictureURLThe size of Gallery Plus images (up to 400 x 400 pixels) is bigger than the size of standard gallery images. In site search results, you can view the Gallery Plus image by hovering over or clicking the Enlarge link or magifying glass icon. The image uses one of the following graphics formats: JPEG, BMP, TIFF, or GIF. This field is only returned when the seller has opted for the Gallery Plus option for the given item.
- Type
- string[]

string $galleryURLThe image must be provided in one of the following graphics formats: JPEG, BMP, TIF, or GIF. Returned only if the seller chose to show a gallery image.
- Type
- string

string $globalIdReturns a Global ID, which is a unique identifier that specifies the combination of the site, language, and territory. In other eBay APIs (such as the Shopping API), this value is know as the site ID.

string $itemIdeBay generates this ID when an item is listed. ID values are unique across all eBay sites.
- Type
- string

\Zend_Service_Ebay_Finding_ListingInfo $listingInfo
string $locationThis gives a general indication from where the item will be shipped (or delivered).
- Type
- string

string[] $paymentMethodPayment methods are not applicable to eBay Real Estate advertisement listings or other Classified Ad listing formats.

string $postalCodeThis field is returned only if a postal code has been specified by the seller. eBay proximity and local search behavior can use the combination of buyerPostalCode and postalCode values.
- Type
- string

\Zend_Service_Ebay_Finding_Category $primaryCategoryNote that items can be listed in more than a single category.

string $productIdAn eBay catalog product consists of pre-filled Item Specifics, additional descriptive information, plus a stock photo (if available). These product details are used to pre-fill item information, which is used to describe the item and can also help surface the item in searches.
eBay supports the following types of product ID types: ISBN, UPC, EAN, and ReferenceID (ePID, also known as an eBay Product Reference ID). ReferenceID values are returned when available. A UPC, ISBN, or EAN product identifier will be returned only when a ReferenceID is not available.
This productId value can be used as input with findItemsByProduct to retrieve items that were listed with the specified eBay catalog product.
This field is only returned when a product was used to list the item.
- Type
- string

\Zend_Service_Ebay_Finding_Category $secondaryCategoryThis element is not returned if the seller did not specify a secondary category.

\Zend_Service_Ebay_Finding_SellerInfo $sellerInfoOnly returned if SellerInfo is specified in the outputSelector field in the request.

\Zend_Service_Ebay_Finding_SellingStatus $sellingStatus
\Zend_Service_Ebay_Finding_ShippingInfo $shippingInfo
\Zend_Service_Ebay_Finding_Storefront $storeInfoOnly returned if the item is listed in a store and StoreInfo is specified in the outputSelector field in the request.

string $subtitleOnly returned if the seller included a subtitle for the listing.
- Type
- string

string $title- Type
- string

string $viewItemURLThe returned URL is optimized to support natural search. That is, the URL is designed to make items on eBay easier to find via popular internet search engines. The URL includes the item title along with other optimizations. To note, "?" (question mark) optimizes to "_W0QQ", "&" (ampersand) optimizes to "QQ", and "=" (equals sign) optimizes to "Z".
Do not modify the returned URLs in your application queries (for example, eBay won't recognize the URL if you change QQ to &). In the Sandbox environment (and on the Hong Kong site), the data returned in this field is a standard ViewItem URL rather than the ViewItemURL for natural search.
- Type
- string
Methods

__construct(\DOMElement $dom) : void| Name | Type | Description |
|---|---|---|
| $dom | \DOMElement |

_init() : voidInitialize object.
Post construct logic, classes must read their members here. Called from __construct() as final step of object initialization.

_initXPath() : voidLoad DOMXPath for current DOM object.
Inherited from: \Zend_Service_Ebay_Finding_Abstract::_initXPath()
_query(string $path, string $type, string $array = false) : mixed| Name | Type | Description |
|---|---|---|
| $path | string | |
| $type | string | |
| $array | string | When true means it expects more than one node occurence |
| Type | Description |
|---|---|
| mixed |

attributes(string $tag, string $attribute = null) : mixed| Name | Type | Description |
|---|---|---|
| $tag | string | |
| $attribute | string |
| Type | Description |
|---|---|
| mixed |

findItemsByProduct(\Zend_Service_Ebay_Finding $proxy, \Zend_Config | array $options = null) : \Zend_Service_Ebay_Finding_Response_Items| Name | Type | Description |
|---|---|---|
| $proxy | \Zend_Service_Ebay_Finding | |
| $options | \Zend_Config | array |
| Type | Description |
|---|---|
| \Zend_Service_Ebay_Finding_Response_Items |

getDom() : \DOMElement| Type | Description |
|---|---|
| \DOMElement |

getXPath() : \DOMXPath| Type | Description |
|---|---|
| \DOMXPath |