/** * @inheritdoc */ public function __construct(\SimpleXMLElement $response) { parent::__construct($response); $this->response = $response; $this->count = XmlHelper::getAsInt($response, 'CategoryCount'); $this->min_reserve_price = XmlHelper::getAsDouble($response, 'MinimumReservePrice'); $this->reduce_reserve_allowed = XmlHelper::getAsBoolean($response, 'ReduceReserveAllowed'); $this->reserve_price_allowed = XmlHelper::getAsBoolean($response, 'ReservePriceAllowed'); $this->update_time = XmlHelper::getAsString($response, 'UpdateTime'); }