TradeMe.Api.Client.BiddingMethods.BuyNowRequest C# (CSharp) Method

BuyNowRequest() public method

Performs the Bidding Method: Place a Buy Now request. POST

Serializes the given BuyNowRequest into xml and sends the message.

REQUIRES AUTHENTICATION.
public BuyNowRequest ( BuyNowRequest request ) : System.Xml.Linq.XDocument
request BuyNowRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument
        public XDocument BuyNowRequest(BuyNowRequest request)
        {
            var query = String.Format(Constants.Culture, "{0}/BuyNow{1}", Constants.BIDDING, Constants.XML);
            return _connection.Post(request, query);
        }