Example #1
0
        /// <summary>
        /// <para>Performs the Fixed Price Offer Method:
        /// Withdraws an offer that is current and not expired, accepted or rejected by all users. 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 WithdrawFixedPriceOffer(FixedPriceOfferWithdrawalRequest request)
        {
            var query = String.Format(Constants.Culture, "{0}/{1}/WithdrawOffer{2}", Constants.MY_TRADEME, Constants.FIXEDPRICEOFFER, Constants.XML);

            return(_connection.Post(request, query));
        }
Example #2
0
        /// <summary>
        /// <para>Performs the Fixed Price Offer Method:
        /// Withdraws an offer that is current and not expired, accepted or rejected by all users. 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 WithdrawFixedPriceOffer(FixedPriceOfferWithdrawalRequest request)
        {
            if (_fixedPrice == null)
            {
                _fixedPrice = new FixedPriceOfferMethods(_connection);
            }

            return _fixedPrice.WithdrawFixedPriceOffer(request);
        }
 /// <summary>
 /// <para>Performs the Fixed Price Offer Method:
 /// Withdraws an offer that is current and not expired, accepted or rejected by all users. 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 WithdrawFixedPriceOffer(FixedPriceOfferWithdrawalRequest request)
 {
     var query = String.Format(Constants.Culture, "{0}/{1}/WithdrawOffer{2}", Constants.MY_TRADEME, Constants.FIXEDPRICEOFFER, Constants.XML);
     return _connection.Post(request, query);
 }