diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Service/Ebay/Finding/ListingInfo.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Service/Ebay/Finding/ListingInfo.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,211 @@ +bestOfferEnabled = $this->_query(".//$ns:bestOfferEnabled[1]", 'boolean'); + $this->buyItNowAvailable = $this->_query(".//$ns:buyItNowAvailable[1]", 'boolean'); + $this->buyItNowPrice = $this->_query(".//$ns:buyItNowPrice[1]", 'float'); + $this->convertedBuyItNowPrice = $this->_query(".//$ns:convertedBuyItNowPrice[1]", 'float'); + $this->endTime = $this->_query(".//$ns:endTime[1]", 'string'); + $this->gift = $this->_query(".//$ns:gift[1]", 'boolean'); + $this->listingType = $this->_query(".//$ns:listingType[1]", 'string'); + $this->startTime = $this->_query(".//$ns:startTime[1]", 'string'); + + $this->_attributes['buyItNowPrice'] = array( + 'currencyId' => $this->_query(".//$ns:buyItNowPrice[1]/@currencyId[1]", 'string') + ); + + $this->_attributes['convertedBuyItNowPrice'] = array( + 'currencyId' => $this->_query(".//$ns:convertedBuyItNowPrice[1]/@currencyId[1]", 'string') + ); + } +}