// place a buy now request /// <summary> /// <para>Performs the Bidding Method: /// Place a Buy Now request. POST /// </para><para> /// Serializes the given BuyNowRequest into xml and sends the message. /// </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: BuyNowResponse</returns> public XDocument BuyNowRequest(BuyNowRequest request) { var query = String.Format(Constants.Culture, "{0}/BuyNow{1}", Constants.BIDDING, Constants.XML); return(_connection.Post(request, query)); }
// place a buy now request /// <summary> /// <para>Performs the Bidding Method: /// Place a Buy Now request. /// </para><para> /// Serializes the given BuyNowRequest into xml and sends the message. /// </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.</returns> public XDocument BuyNowRequest(BuyNowRequest request) { if (_bidding == null) { _bidding = new BiddingMethods(_connection); } return _bidding.BuyNowRequest(request); }
// place a buy now request /// <summary> /// <para>Performs the Bidding Method: /// Place a Buy Now request. POST /// </para><para> /// Serializes the given BuyNowRequest into xml and sends the message. /// </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: BuyNowResponse</returns> public XDocument BuyNowRequest(BuyNowRequest request) { var query = String.Format(Constants.Culture, "{0}/BuyNow{1}", Constants.BIDDING, Constants.XML); return _connection.Post(request, query); }