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') ); } }