/// <summary> /// <para>Performs the MyTradeMe method: /// Retrieve a list of items currently for sale. /// </para><para> /// Creates a query string using the parameters provided - parameters can be null if they are not required for the request. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="criteria">The criteria.</param> /// <returns>Items.</returns> 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)); }
/// <summary> /// <para>Performs the MyTradeMe method: /// Retrieve a list of items currently for sale. /// </para><para> /// Creates a query string using the parameters provided - parameters can be null if they are not required for the request. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="criteria">The criteria.</param> /// <returns>Items.</returns> public Items SellingItemsWithCriteria(SellingItemsCriteria criteria) { if (_myTradeMe == null) { _myTradeMe = new MyTradeMeMethods(_connection); } return _myTradeMe.SellingItemsWithCriteria(criteria); }
/// <summary> /// <para>Performs the MyTradeMe method: /// Retrieve a list of items currently for sale. /// </para><para> /// Creates a query string using the parameters provided - parameters can be null if they are not required for the request. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="criteria">The criteria.</param> /// <returns>Items.</returns> 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); }