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

SellingItemsWithCriteria() public method

Performs the MyTradeMe method: Retrieve a list of items currently for sale.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public SellingItemsWithCriteria ( SellingItemsCriteria criteria ) : Items
criteria SellingItemsCriteria The criteria.
return Items
        public Items SellingItemsWithCriteria(SellingItemsCriteria criteria)
        {
            var query = Constants.MY_TRADEME + "/SellingItems";

            if (!string.IsNullOrEmpty(string.Empty + criteria))
            {
                query += "/" + criteria;
            }

            query += Constants.XML;

            return this.SellingItems(query);
        }