TradeMe.Api.Client.MyTradeMeMethods.PayNowLedger C# (CSharp) Method

PayNowLedger() public method

Performs the My Trade Me Method: Retrieve a member’s Pay Now ledger

using the "query" string provided - should be the "MyTradeMe/PayNowLedger/{criteria}.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public PayNowLedger ( string query ) : PayNowLedger
query string The query string that will be added to the base url and used to connect to the API.
return PayNowLedger
        public PayNowLedger PayNowLedger(string query)
        {
            var getRequest = _connection.AuthenticatedQuery(query);
            var xml = getRequest.ToString();

            return Deserializer<PayNowLedger>.Deserialize(new PayNowLedger(), xml);
        }