Service/Ebay/Finding/SellingStatus.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
- New BSD License
- Package
- Zend_Service
- Subpackage
- Ebay
- Version
- $Id: SellingStatus.php 22791 2010-08-04 16:11:47Z renanbr $
\Zend_Service_Ebay_Finding_SellingStatus
- Parent(s)
- \Zend_Service_Ebay_Finding_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- 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

float $convertedCurrentPrice- Type
- float

float $currentPriceThat is, currentPrice is returned in the original listing currency.
For competitive-bid item listings, currentPrice is the current minimum bid price if the listing has no bids, or the current high bid if the listing has bids. A Buy It Now price has no effect on currentPrice.
For Basic Fixed-Price (FixedPrice), Store Inventory (StoreInventory), and Ad Format (AdFormat) listings, currentPrice is the current fixed price.
- Type
- float

string $sellingStateIf an item's EndTime is in the past, but there are no details about the buyer or high bidder (and the user is not anonymous), you can use sellingState information to determine whether eBay has finished processing the listing.
Applicable values:
Active
The listing is still live. It is also possible that the auction has
recently ended, but eBay has not completed the final processing
(e.g., the high bidder is still being determined).
Canceled
The listing has been canceled by either the seller or eBay.
Ended
The listing has ended and eBay has completed the processing of the
sale (if any).
- 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 |

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

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