Exemplo n.º 1
0
        /// <summary>
        /// Retrieves a paginated list containing details of a user's Selling Manager Inventory. This call is subject to change without notice; the deprecation process is inapplicable to this call. The user must have a Selling Manager Pro subscription to use this call.
        /// </summary>
        ///
        /// <param name="Sort">
        /// This field is used if the seller would like to sort Selling Manager Inventory results based on a specific aspect such as Product Name, Average Price, etc. See <b>SellingManagerProductSortCodeType</b> to read more about the available sorting options.
        /// </param>
        ///
        /// <param name="FolderID">
        /// This field is included if the seller wants to view Selling Manager Inventory from a specific folder.
        /// </param>
        ///
        /// <param name="Pagination">
        /// This container is used if the seller would like to control how many products are returned per page and which page to view.
        /// </param>
        ///
        /// <param name="SortOrder">
        /// This field allows the seller to sort in ascending or descending order (based on the selected aspect in the <b>Sort</b> field).
        /// </param>
        ///
        /// <param name="Search">
        /// This container is used if the seller would like to search for Selling Manager Inventory based on certain identifiers like Item ID, listing title, buyer user ID, etc. The seller will specify one of the supported search types in <b>SellingManagerSearchTypeCodeType</b>, and then provides the value for that search type.
        /// </param>
        ///
        /// <param name="StoreCategoryID">
        /// This field is used if the seller would like to retrieve all Selling Manager Inventory listed in a specific eBay Store Category.
        /// </param>
        ///
        /// <param name="FilterList">
        /// One or more <b>Filter</b> fields can be used to retrieve Selling Manager Inventory that is in a certain state, such as active listings, inactive listings, or listings that are low in stock.
        /// </param>
        ///
        public DateTime GetSellingManagerInventory(SellingManagerProductSortCodeType Sort, long FolderID, PaginationType Pagination, SortOrderCodeType SortOrder, SellingManagerSearchType Search, long StoreCategoryID, SellingManagerInventoryPropertyTypeCodeTypeCollection FilterList)
        {
            this.Sort            = Sort;
            this.FolderID        = FolderID;
            this.Pagination      = Pagination;
            this.SortOrder       = SortOrder;
            this.Search          = Search;
            this.StoreCategoryID = StoreCategoryID;
            this.FilterList      = FilterList;

            Execute();
            return(ApiResponse.InventoryCountLastCalculatedDate);
        }
		/// <summary>
		/// Retrieves a paginated list containing details of a user's Selling Manager inventory.
		/// This call is subject to change without notice; the deprecation process is
		/// inapplicable to this call.
		/// </summary>
		/// 
		/// <param name="Sort">
		/// Sets the sorting method for the results.
		/// </param>
		///
		/// <param name="FolderID">
		/// Specifies the inventory folder containing the requested inventory information.
		/// </param>
		///
		/// <param name="Pagination">
		/// Details about how many Products to return per page and which page to view.
		/// </param>
		///
		/// <param name="SortOrder">
		/// Order to be used for sorting retrieved product lists.
		/// </param>
		///
		/// <param name="Search">
		/// Specifies types and values to search for in the seller's listings.
		/// </param>
		///
		/// <param name="StoreCategoryID">
		/// Specifies a store category whose products will be returned.
		/// </param>
		///
		/// <param name="FilterList">
		/// Container for the list of filters that can be applied to the inventory information requested.
		/// </param>
		///
		public DateTime GetSellingManagerInventory(SellingManagerProductSortCodeType Sort, long FolderID, PaginationType Pagination, SortOrderCodeType SortOrder, SellingManagerSearchType Search, long StoreCategoryID, SellingManagerInventoryPropertyTypeCodeTypeCollection FilterList)
		{
			this.Sort = Sort;
			this.FolderID = FolderID;
			this.Pagination = Pagination;
			this.SortOrder = SortOrder;
			this.Search = Search;
			this.StoreCategoryID = StoreCategoryID;
			this.FilterList = FilterList;

			Execute();
			return ApiResponse.InventoryCountLastCalculatedDate;
		}