/// <summary> /// <para>Performs the Fixed Price Offer Method: /// Accepts or rejects a fixed price offer. POST /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: FixedPriceOfferResponse</returns> public XDocument RespondToFixedPriceOffer(FixedPriceOfferRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}/Respond{2}", Constants.MY_TRADEME, Constants.FIXEDPRICEOFFER, Constants.XML); return(_connection.Post(request, query)); }
/// <summary> /// <para>Performs the Fixed Price Offer Method: /// Accepts or rejects a fixed price offer. POST /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: FixedPriceOfferResponse</returns> public XDocument RespondToFixedPriceOffer(FixedPriceOfferRequest request) { if (_fixedPrice == null) { _fixedPrice = new FixedPriceOfferMethods(_connection); } return _fixedPrice.RespondToFixedPriceOffer(request); }
/// <summary> /// <para>Performs the Fixed Price Offer Method: /// Accepts or rejects a fixed price offer. POST /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: FixedPriceOfferResponse</returns> public XDocument RespondToFixedPriceOffer(FixedPriceOfferRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}/Respond{2}", Constants.MY_TRADEME, Constants.FIXEDPRICEOFFER, Constants.XML); return _connection.Post(request, query); }