コード例 #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.
		/// </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;
		}
コード例 #2
0
        /// <summary>
        /// Returns a Selling Manager user's sold listings.
        ///
        /// 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="Search">
        /// This container is used if the seller would like to search for Selling Manager Sele Records based on certain identifiers like Saler Record ID, 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 Sale Records for products 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 Sale Records for orders that are in a certain state. See <b>SellingManagerSoldListingsPropertyTypeCodeType</b> for the supported values.
        /// </param>
        ///
        /// <param name="Archived">
        /// This field is included and set to <code>true</code> if the seller would like to retrieve one or more archived orders between 90 and 120 days old.
        /// </param>
        ///
        /// <param name="Sort">
        /// This field is used if the seller would like to sort Selling Manager Sale Record results based on a specific aspect such as purchase date, checkout status, total price, etc. See <b>SellingManagerSoldListingsSortTypeCodeType</b> to read more about the available sorting options.
        /// </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="Pagination">
        /// This container is used if the seller would like to control how many Sale Records are returned per page and which page to view.
        /// </param>
        ///
        /// <param name="SaleDateRange">
        /// This container allows the seller to retrieve orders that were purchased within a specified time range. A time range can be set up to 90 days in the past (or up to 120 days if the <b>Archived</b> field is included and set to <code>true</code>.
        /// </param>
        ///
        public SellingManagerSoldOrderTypeCollection GetSellingManagerSoldListings(SellingManagerSearchType Search, long StoreCategoryID, SellingManagerSoldListingsPropertyTypeCodeTypeCollection FilterList, bool Archived, SellingManagerSoldListingsSortTypeCodeType Sort, SortOrderCodeType SortOrder, PaginationType Pagination, TimeRangeType SaleDateRange)
        {
            this.Search          = Search;
            this.StoreCategoryID = StoreCategoryID;
            this.FilterList      = FilterList;
            this.Archived        = Archived;
            this.Sort            = Sort;
            this.SortOrder       = SortOrder;
            this.Pagination      = Pagination;
            this.SaleDateRange   = SaleDateRange;

            Execute();
            return(ApiResponse.SaleRecord);
        }
コード例 #3
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, List <SellingManagerInventoryPropertyTypeCodeType> 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);
        }
コード例 #4
0
		/// <summary>
		/// Returns a Selling Manager user's sold listings.
		/// 
		/// This call is subject to change without notice; the deprecation process is
		/// inapplicable to this call.
		/// </summary>
		/// 
		/// <param name="Search">
		/// Search filters for sold listings.
		/// </param>
		///
		/// <param name="StoreCategoryID">
		/// Listings with this store category ID will be listed.
		/// </param>
		///
		/// <param name="FilterList">
		/// This holds the list of filters that can be applicable for sold listings.
		/// </param>
		///
		/// <param name="Archived">
		/// Requests listing records that are more than 90 days old. Records are archived between 90
		/// and 120 days after being created, and thereafter can only be retrieved using this tag.
		/// </param>
		///
		/// <param name="Sort">
		/// Field to be used to sort the response.
		/// </param>
		///
		/// <param name="SortOrder">
		/// Order to be used for sorting the requested listings.
		/// </param>
		///
		/// <param name="Pagination">
		/// Details about how many listings to return per page and which page to view.
		/// </param>
		///
		/// <param name="SaleDateRange">
		/// Specifies the earliest (oldest) and latest (most recent) dates to use in a date
		/// range filter based on item start time. A time range can be up to 120
		/// days.
		/// </param>
		///
		public SellingManagerSoldOrderTypeCollection GetSellingManagerSoldListings(SellingManagerSearchType Search, long StoreCategoryID, SellingManagerSoldListingsPropertyTypeCodeTypeCollection FilterList, bool Archived, SellingManagerSoldListingsSortTypeCodeType Sort, SortOrderCodeType SortOrder, PaginationType Pagination, TimeRangeType SaleDateRange)
		{
			this.Search = Search;
			this.StoreCategoryID = StoreCategoryID;
			this.FilterList = FilterList;
			this.Archived = Archived;
			this.Sort = Sort;
			this.SortOrder = SortOrder;
			this.Pagination = Pagination;
			this.SaleDateRange = SaleDateRange;

			Execute();
			return ApiResponse.SaleRecord;
		}