public void GetMyeBaySelling()
		{
			GetMyeBaySellingCall api = new GetMyeBaySellingCall(this.apiContext);
			GetMyeBaySellingRequestType req = new GetMyeBaySellingRequestType();
			api.ApiRequest = req;
			ItemListCustomizationType lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.BidCount;
			req.ActiveList = lc;
			lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.Price;
			req.SoldList = lc;
			lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.EndTime;
			req.UnsoldList = lc;
			lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.StartTime;
			req.ScheduledList = lc;
			// Make API call.
			api.GetMyeBaySelling();
			GetMyeBaySellingResponseType resp = api.ApiResponse;
			
		}
Example #2
0
        public void GetMyeBaySelling()
        {
            GetMyeBaySellingCall        api = new GetMyeBaySellingCall(this.apiContext);
            GetMyeBaySellingRequestType req = new GetMyeBaySellingRequestType();

            api.ApiRequest = req;
            ItemListCustomizationType lc = new ItemListCustomizationType();

            lc.Include      = true; lc.IncludeSpecified = true;
            lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
            lc.Sort         = ItemSortTypeCodeType.BidCount;
            req.ActiveList  = lc;
            lc                = new ItemListCustomizationType();
            lc.Include        = true; lc.IncludeSpecified = true;
            lc.IncludeNotes   = true; lc.IncludeNotesSpecified = true;
            lc.Sort           = ItemSortTypeCodeType.Price;
            req.SoldList      = lc;
            lc                = new ItemListCustomizationType();
            lc.Include        = true; lc.IncludeSpecified = true;
            lc.IncludeNotes   = true; lc.IncludeNotesSpecified = true;
            lc.Sort           = ItemSortTypeCodeType.EndTime;
            req.UnsoldList    = lc;
            lc                = new ItemListCustomizationType();
            lc.Include        = true; lc.IncludeSpecified = true;
            lc.IncludeNotes   = true; lc.IncludeNotesSpecified = true;
            lc.Sort           = ItemSortTypeCodeType.StartTime;
            req.ScheduledList = lc;
            // Make API call.
            api.GetMyeBaySelling();
            GetMyeBaySellingResponseType resp = api.ApiResponse;
        }
Example #3
0
        /// <summary>
        /// For backward compatibility with old wrappers.
        /// </summary>
        public BuyingSummaryType GetMyeBayBuying(ItemListCustomizationType WatchList, ItemListCustomizationType BidList, ItemListCustomizationType BestOfferList, ItemListCustomizationType WonList, ItemListCustomizationType LostList, MyeBaySelectionType FavoriteSearches, MyeBaySelectionType FavoriteSellers, MyeBaySelectionType SecondChanceOffer)
        {
            this.WatchList         = WatchList;
            this.BidList           = BidList;
            this.BestOfferList     = BestOfferList;
            this.WonList           = WonList;
            this.LostList          = LostList;
            this.FavoriteSearches  = FavoriteSearches;
            this.FavoriteSellers   = FavoriteSellers;
            this.SecondChanceOffer = SecondChanceOffer;

            Execute();
            return(ApiResponse.BuyingSummary);
        }
        /// <summary>
        /// Returns items from the Selling section of the user's My eBay account,
        /// including items that the user is currently selling (the Active list),
        /// items that have bids, sold items, and unsold items.
        /// </summary>
        ///
        /// <param name="ScheduledList">
        /// Returns the list of items the user has scheduled to sell but whose
        /// listings have not yet opened.
        ///
        /// Include and set the <b>ScheduledList.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>ScheduledList</b> in the response.
        /// </param>
        ///
        /// <param name="ActiveList">
        /// Returns the list of items the user is actively selling (the currently
        /// active listings).
        ///
        /// Include and set the <b>ActiveList.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>ActiveList</b> in the response.
        /// </param>
        ///
        /// <param name="SoldList">
        /// Returns the list of items the user has sold.
        ///
        /// Include and set the <b>SoldList.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>SoldList</b> in the response.
        /// </param>
        ///
        /// <param name="UnsoldList">
        /// Returns the list of items the user has listed, but whose listings
        /// have ended without being sold.
        ///
        /// Include and set the <b>UnsoldList.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>UnsoldList</b> in the response.
        /// </param>
        ///
        /// <param name="BidList">
        /// This container is no longer applicable to <b>GetMyeBaySelling</b>.
        /// </param>
        ///
        /// <param name="DeletedFromSoldList">
        /// Returns the list of items the user sold, and then deleted from
        /// their My eBay page. Allowed values for DurationInDays are 0-60.
        ///
        /// Include and set the <b>DeletedFromSoldList.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>DeletedFromSoldList</b> in the response.
        /// </param>
        ///
        /// <param name="DeletedFromUnsoldList">
        /// Returns the list of items the user either ended or did not sell, and
        /// subsequently were deleted them from their My eBay page. Allowed
        /// values for DurationInDays are 0-60.
        ///
        /// Include and set the <b>DeletedFromUnsoldList.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>DeletedFromUnsoldList</b> in the response.
        /// </param>
        ///
        /// <param name="SellingSummary">
        /// Returns a summary of the user's buying activity.
        ///
        /// Include and set the <b>SellingSummary.Include</b> flag to 'true' to
        /// retrieve the default response set of <b>SellingSummary</b> in the response.
        /// </param>
        ///
        /// <param name="HideVariations">
        /// If 'true', the Variations node is omitted for all multi-variation
        /// listings in the response.
        /// If 'false', the Variations node is returned for all
        /// multi-variation listings in the response.
        ///
        /// Please note that if the seller includes a large number of
        /// variations in many listings, retrieving variations (setting this
        /// flag to 'false') may degrade the call's performance. Therefore,
        /// when this is 'false', you may need to reduce the total
        /// number of items you're requesting at once (by using other input
        /// fields, such as Pagination).
        /// </param>
        ///
        public SellingSummaryType GetMyeBaySelling(ItemListCustomizationType ScheduledList, ItemListCustomizationType ActiveList, ItemListCustomizationType SoldList, ItemListCustomizationType UnsoldList, ItemListCustomizationType BidList, ItemListCustomizationType DeletedFromSoldList, ItemListCustomizationType DeletedFromUnsoldList, ItemListCustomizationType SellingSummary, bool HideVariations)
        {
            this.ScheduledList         = ScheduledList;
            this.ActiveList            = ActiveList;
            this.SoldList              = SoldList;
            this.UnsoldList            = UnsoldList;
            this.BidList               = BidList;
            this.DeletedFromSoldList   = DeletedFromSoldList;
            this.DeletedFromUnsoldList = DeletedFromUnsoldList;
            this.SellingSummary        = SellingSummary;
            this.HideVariations        = HideVariations;

            Execute();
            return(ApiResponse.SellingSummary);
        }
Example #5
0
        public void GetMyeBayBuying()
        {
            GetMyeBayBuyingCall api = new GetMyeBayBuyingCall(this.apiContext);

            if (this.apiContext.SoapApiServerUrl.IndexOf("sandbox") != -1)
            {
                return;
            }
            GetMyeBayBuyingRequestType req = new GetMyeBayBuyingRequestType();

            api.ApiRequest = req;
            ItemListCustomizationType lc = new ItemListCustomizationType();

            lc.Include        = true; lc.IncludeSpecified = true;
            lc.IncludeNotes   = true; lc.IncludeNotesSpecified = true;
            lc.Sort           = ItemSortTypeCodeType.EndTime;
            req.BestOfferList = lc;
            lc              = new ItemListCustomizationType();
            lc.Include      = true; lc.IncludeSpecified = true;
            lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
            lc.Sort         = ItemSortTypeCodeType.BidCount;
            req.BidList     = lc;
            lc              = new ItemListCustomizationType();
            lc.Include      = true; lc.IncludeSpecified = true;
            lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
            lc.Sort         = ItemSortTypeCodeType.EndTime;
            req.LostList    = lc;
            lc              = new ItemListCustomizationType();
            lc.Include      = true; lc.IncludeSpecified = true;
            lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
            lc.Sort         = ItemSortTypeCodeType.Price;
            req.WonList     = lc;
            MyeBaySelectionType selection = new MyeBaySelectionType();

            selection.Include    = true; selection.IncludeSpecified = true;
            selection.Sort       = SortOrderCodeType.Ascending;
            req.FavoriteSearches = selection;
            MyeBaySelectionType sellerSel = new MyeBaySelectionType();

            sellerSel.Include   = true; sellerSel.IncludeSpecified = true;
            sellerSel.Sort      = SortOrderCodeType.Ascending;
            req.FavoriteSellers = sellerSel;
            // Make API call.
            api.GetMyeBayBuying();
            GetMyeBayBuyingResponseType resp = api.ApiResponse;
        }
Example #6
0
        /// <summary>
        /// Retrieves information regarding a user's buying activity, such as items they are watching, bidding on, have won, did not win, and have made Best Offers on.
        /// </summary>
        ///
        /// <param name="WatchList">
        /// Include this container and set the <b>WatchList.Include</b> field to <code>true</code> to return the list of items on the eBay user's Watch List.
        ///
        /// The user also has the option of using pagination and sorting for the list of watched items that will be returned.
        /// </param>
        ///
        /// <param name="BidList">
        /// Include this container and set the <b>BidList.Include</b> field to <code>true</code> to return the list of auction items on which the eBay user has bid.
        ///
        /// The user also has the option of using pagination and sorting for the list of auction items that will be returned.
        /// </param>
        ///
        /// <param name="BestOfferList">
        /// Include this container and set the <b>BestOfferList.Include</b> field to <code>true</code> to return the list of items on which the eBay user has made a Best Offer.
        ///
        /// The user also has the option of using pagination and sorting for the list of items that will be returned.
        /// </param>
        ///
        /// <param name="WonList">
        /// Include this container and set the <b>WonList.Include</b> field to <code>true</code> to return the list of auction items on which the eBay user has bid on and won.
        ///
        /// The user also has the option of using pagination and sorting for the list of auction items that will be returned.
        /// </param>
        ///
        /// <param name="LostList">
        /// Include this container and set the <b>LostList.Include</b> field to <code>true</code> to return the list of auction items on which the eBay user has bid on and lost.
        ///
        /// The user also has the option of using pagination and sorting for the list of auction items that will be returned.
        /// </param>
        ///
        /// <param name="FavoriteSearches">
        /// Include this container and set the <b>FavoriteSearches.Include</b> field to <code>true</code> to return the list of the eBay user's saved searches.
        /// </param>
        ///
        /// <param name="FavoriteSellers">
        /// Include this container and set the <b>FavoriteSellers.Include</b> field to <code>true</code> to return the list of the eBay user's saved sellers.
        /// </param>
        ///
        /// <param name="SecondChanceOffer">
        /// Include this container and set the <b>SecondChanceOffer.Include</b> field to <code>true</code> to return any Second Chance Offers that the eBay user has received.
        /// </param>
        ///
        /// <param name="BidAssistantList">
        /// This field is deprecated.
        /// </param>
        ///
        /// <param name="DeletedFromWonList">
        /// Include this container and set the <b>DeletedFromWonList.Include</b> field to <code>true</code> to return the list of auction items on which the eBay user has bid on and won, but has deleted from their My eBay page.
        ///
        /// The user also has the option of using pagination and sorting for the list of auction items that will be returned.
        /// </param>
        ///
        /// <param name="DeletedFromLostList">
        /// Include this container and set the <b>DeletedFromLostList.Include</b> field to <code>true</code> to return the list of auction items on which the eBay user has bid on and lost, and has deleted from their My eBay page.
        ///
        /// The user also has the option of using pagination and sorting for the list of auction items that will be returned.
        /// </param>
        ///
        /// <param name="BuyingSummary">
        /// Include this container and set the <b>BuyingSummary.Include</b> field to <code>true</code> to return the <b>BuyingSummary</b> container in the response. The <b>BuyingSummary</b> container consists of buying/bidding activity counts and values.
        /// </param>
        ///
        /// <param name="UserDefinedLists">
        /// Include this container and set the <b>UserDefinedLists.Include</b> field to <code>true</code> to return one or more user-defined lists. User-defined lists are lists created by the user in My eBay and consists of a combination of items, saved sellers, and/or saved searches.
        /// </param>
        ///
        /// <param name="HideVariations">
        /// If this field is included and set to <code>true</code>, the <b>Variations</b> node (and all variation data) is omitted for all multiple-variation listings in the response. If this field is omitted or set to <code>false</code>, the <b>Variations</b> node is returned for all multiple-variation listings in the response.
        ///
        /// </param>
        ///
        public BuyingSummaryType GetMyeBayBuying(ItemListCustomizationType WatchList, ItemListCustomizationType BidList, ItemListCustomizationType BestOfferList, ItemListCustomizationType WonList, ItemListCustomizationType LostList, MyeBaySelectionType FavoriteSearches, MyeBaySelectionType FavoriteSellers, MyeBaySelectionType SecondChanceOffer, BidAssistantListType BidAssistantList, ItemListCustomizationType DeletedFromWonList, ItemListCustomizationType DeletedFromLostList, ItemListCustomizationType BuyingSummary, MyeBaySelectionType UserDefinedLists, bool HideVariations)
        {
            this.WatchList           = WatchList;
            this.BidList             = BidList;
            this.BestOfferList       = BestOfferList;
            this.WonList             = WonList;
            this.LostList            = LostList;
            this.FavoriteSearches    = FavoriteSearches;
            this.FavoriteSellers     = FavoriteSellers;
            this.SecondChanceOffer   = SecondChanceOffer;
            this.BidAssistantList    = BidAssistantList;
            this.DeletedFromWonList  = DeletedFromWonList;
            this.DeletedFromLostList = DeletedFromLostList;
            this.BuyingSummary       = BuyingSummary;
            this.UserDefinedLists    = UserDefinedLists;
            this.HideVariations      = HideVariations;

            Execute();
            return(ApiResponse.BuyingSummary);
        }
		public void GetMyeBayBuying()
		{
			GetMyeBayBuyingCall api = new GetMyeBayBuyingCall(this.apiContext);
			if (this.apiContext.SoapApiServerUrl.IndexOf("sandbox") != -1)
				return;
			GetMyeBayBuyingRequestType req = new GetMyeBayBuyingRequestType();
			api.ApiRequest = req;
			ItemListCustomizationType lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.EndTime;
			req.BestOfferList = lc;
			lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.BidCount;
			req.BidList = lc;
			lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.EndTime;
			req.LostList = lc;
			lc = new ItemListCustomizationType();
			lc.Include = true; lc.IncludeSpecified = true;
			lc.IncludeNotes = true; lc.IncludeNotesSpecified = true;
			lc.Sort = ItemSortTypeCodeType.Price;
			req.WonList = lc;
			MyeBaySelectionType selection = new MyeBaySelectionType();
			selection.Include = true; selection.IncludeSpecified = true;
			selection.Sort = SortOrderCodeType.Ascending;
			req.FavoriteSearches = selection;
			MyeBaySelectionType sellerSel = new MyeBaySelectionType();
			sellerSel.Include = true; sellerSel.IncludeSpecified = true;
			sellerSel.Sort = SortOrderCodeType.Ascending;
			req.FavoriteSellers = sellerSel;
			// Make API call.
			api.GetMyeBayBuying();
			GetMyeBayBuyingResponseType resp = api.ApiResponse;
			
		}
Example #8
0
        /// <summary>
        /// Gets ebay listings - Filtered by order type
        /// </summary>
        /// <param name="orderType">Type of order - sold, awaiting payment etc</param>
        /// <param name="pageNumber">Page number to return. Returns 200 per page</param>
        /// <returns></returns>
        public GetMyeBaySellingResponseType GetMyEbayListings(OrderStatusFilterCodeType orderType, int pageNumber = 1)
        {
            var service = EbayServiceContext(ServiceCallType.GetMyeBaySelling);
            var filter  = new ItemListCustomizationType {
                Include    = true,
                Pagination = new PaginationType
                {
                    EntriesPerPage          = Properties.EntriesPerRequest,
                    EntriesPerPageSpecified = true,
                    PageNumber          = pageNumber,
                    PageNumberSpecified = true
                },
                OrderStatusFilter          = orderType,
                OrderStatusFilterSpecified = true
            };
            var request = new GetMyeBaySellingRequestType {
                ActiveList = filter,
                SoldList   = filter
            };

            request.ActiveList.Include = true;
            SetupRequestType <GetMyeBaySellingRequestType>(request);
            var credentials = Properties.EbayCredentials;
            var apicall     = service.GetMyeBaySelling(ref credentials, request);

            if (apicall.Errors != null)
            {
                foreach (var e in apicall.Errors.ToArray())
                {
                    _logger.WriteToLog(e, EventLogEntryType.Error);
                }
            }
            if ((apicall.Ack == AckCodeType.Success || apicall.Ack == AckCodeType.Warning))
            {
                return(apicall);
            }
            return(null);
        }
Example #9
0
 /// <summary>
 /// Gets ebay listings - Filtered by order type
 /// </summary>
 /// <param name="orderType">Type of order - sold, awaiting payment etc</param>
 /// <param name="pageNumber">Page number to return. Returns 200 per page</param>
 /// <returns></returns>
 public GetMyeBaySellingResponseType GetMyEbayListings(OrderStatusFilterCodeType orderType, int pageNumber = 1)
 {
     var service = EbayServiceContext(ServiceCallType.GetMyeBaySelling);
     var filter = new ItemListCustomizationType {
         Include = true,
         Pagination = new PaginationType
         {
             EntriesPerPage = Properties.EntriesPerRequest,
             EntriesPerPageSpecified = true,
             PageNumber = pageNumber,
             PageNumberSpecified = true
         },
         OrderStatusFilter = orderType,
         OrderStatusFilterSpecified = true
     };
     var request = new GetMyeBaySellingRequestType {
         ActiveList = filter,
         SoldList = filter
     };
     request.ActiveList.Include = true;
     SetupRequestType<GetMyeBaySellingRequestType>(request);
     var credentials = Properties.EbayCredentials;
     var apicall = service.GetMyeBaySelling(ref credentials, request);
     if (apicall.Errors != null)
     {
         foreach (var e in apicall.Errors.ToArray())
         {
             _logger.WriteToLog(e, EventLogEntryType.Error);
         }
     }
     if ((apicall.Ack == AckCodeType.Success || apicall.Ack == AckCodeType.Warning))
     {
         return apicall;
     }
     return null;
 }
		/// <summary>
		/// Returns items from the Selling section of the user's My eBay account,
		/// including items that the user is currently selling (the Active list),
		/// items that have bids, sold items, and unsold items.
		/// </summary>
		/// 
		/// <param name="ScheduledList">
		/// Returns the list of items the user has scheduled to sell but whose
		/// listings have not yet opened.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="ActiveList">
		/// Returns the list of items the user is actively selling (the currently
		/// active listings).
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="SoldList">
		/// Returns the list of items the user has sold.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="UnsoldList">
		/// Returns the list of items the user has listed, but whose listings
		/// have ended without being sold.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="BidList">
		/// Return the list of active items on which there are bids.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="DeletedFromSoldList">
		/// Return the list of active items on which there are bids.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="DeletedFromUnsoldList">
		/// Returns the list of items the user either ended or did not sell, and
		/// subsequently were deleted them from their My eBay page. Allowed
		/// values for DurationInDays are 0-90.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="SellingSummary">
		/// Returns a summary of the user's buying activity.
		/// 
		/// With a request version of 605 or higher, the selling summary container is
		/// not included in the response by default. Add a SellingSummary element in
		/// the request with an Include field set to true to receive a SellingSummary
		/// container in your response.
		/// 
		/// With a request version lower than 605, the SellingSummary is always
		/// returned by default. Add a SellingSummary element with an Include field
		/// set to false to exclude the SellingSummary from your response.
		/// </param>
		///
		/// <param name="HideVariations">
		/// If true, the Variations node is omitted for all multi-variation
		/// listings in the response.
		/// If false, the Variations node is returned for all
		/// multi-variation listings in the response. 
		/// 
		/// Please note that if the seller includes a large number of
		/// variations in many listings, retrieving variations (setting this
		/// flag to false) may degrade the call's performance. Therefore,
		/// when this is false, you may need to reduce the total
		/// number of items you're requesting at once (by using other input
		/// fields, such as Pagination).
		/// </param>
		///
		public SellingSummaryType GetMyeBaySelling(ItemListCustomizationType ScheduledList, ItemListCustomizationType ActiveList, ItemListCustomizationType SoldList, ItemListCustomizationType UnsoldList, ItemListCustomizationType BidList, ItemListCustomizationType DeletedFromSoldList, ItemListCustomizationType DeletedFromUnsoldList, ItemListCustomizationType SellingSummary, bool HideVariations)
		{
			this.ScheduledList = ScheduledList;
			this.ActiveList = ActiveList;
			this.SoldList = SoldList;
			this.UnsoldList = UnsoldList;
			this.BidList = BidList;
			this.DeletedFromSoldList = DeletedFromSoldList;
			this.DeletedFromUnsoldList = DeletedFromUnsoldList;
			this.SellingSummary = SellingSummary;
			this.HideVariations = HideVariations;

			Execute();
			return ApiResponse.SellingSummary;
		}
		/// <summary>
		/// For backward compatibility with old wrappers.
		/// </summary>
		public BuyingSummaryType GetMyeBayBuying(ItemListCustomizationType WatchList, ItemListCustomizationType BidList, ItemListCustomizationType BestOfferList, ItemListCustomizationType WonList, ItemListCustomizationType LostList, MyeBaySelectionType FavoriteSearches, MyeBaySelectionType FavoriteSellers, MyeBaySelectionType SecondChanceOffer)
		{
			this.WatchList = WatchList;
			this.BidList = BidList;
			this.BestOfferList = BestOfferList;
			this.WonList = WonList;
			this.LostList = LostList;
			this.FavoriteSearches = FavoriteSearches;
			this.FavoriteSellers = FavoriteSellers;
			this.SecondChanceOffer = SecondChanceOffer;

			Execute();
			return ApiResponse.BuyingSummary;
		}
		/// <summary>
		/// Returns items from the Buying section of the user's My eBay
		/// account, including items that the user is watching, bidding on, has
		/// won, has not won, and has made best offers on.
		/// </summary>
		/// 
		/// <param name="WatchList">
		/// Returns the list of items being watched by the user.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="BidList">
		/// Returns the list of items on which the user has bid.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="BestOfferList">
		/// Returns the list of items on which the user has placed best offers.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="WonList">
		/// Returns the list of items on which the use has bid.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="LostList">
		/// Returns the list of items on which the user has bid on and lost.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="FavoriteSearches">
		/// Returns the list of searches that the user has saved in My eBay. Returned
		/// only if the user has saved searches.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="FavoriteSellers">
		/// Returns the list of favorite sellers that the user has saved in My eBay.
		/// Returned only if the user has saved a list of favorite sellers.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="SecondChanceOffer">
		/// Returns the list of second chance offers made by the user. Returned only
		/// if the user has made second chance offers.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="BidAssistantList">
		/// Indicates whether or not the Bid Assistant feature is being used.
		/// </param>
		///
		/// <param name="DeletedFromWonList">
		/// Returns the list of items the user has won, and subsequently deleted from
		/// their My eBay page.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="DeletedFromLostList">
		/// Returns the list of items (auctions) the user did not win and were
		/// subsequently deleted from their My eBay page.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="BuyingSummary">
		/// Returns a summary of the user's buying activity.
		/// 
		/// With a request version of 605 or higher, the buying summary container is
		/// not included in the response by default. Add a BuyingSummary element in
		/// the request with an Include field set to true to receive a BuyingSummary
		/// container in your response.
		/// 
		/// With a request version lower than 605, the BuyingSummary is always
		/// returned by default. Add a BuyingSummary element with an Include field
		/// set to false to exclude the BuyingSummary from your response.
		/// </param>
		///
		/// <param name="UserDefinedLists">
		/// Returns the user defined lists, which are lists created by the user in the eBay
		/// UI and filled with items, or sellers, or searches using the 
		/// "Add to List" feature.
		/// 
		/// Set Include to true to return the default response set.
		/// </param>
		///
		/// <param name="HideVariations">
		/// If true, the Variations node is omitted for all multi-variation
		/// listings in the response.
		/// If false, the Variations node is returned for all
		/// multi-variation listings in the response. 
		/// 
		/// Please note that if the seller includes a large number of
		/// variations in many listings, retrieving variations (setting this
		/// flag to false) may degrade the call's performance. Therefore,
		/// when this is false, you may need to reduce the total
		/// number of items you're requesting at once (by using other input
		/// fields, such as Pagination).
		/// </param>
		///
		public BuyingSummaryType GetMyeBayBuying(ItemListCustomizationType WatchList, ItemListCustomizationType BidList, ItemListCustomizationType BestOfferList, ItemListCustomizationType WonList, ItemListCustomizationType LostList, MyeBaySelectionType FavoriteSearches, MyeBaySelectionType FavoriteSellers, MyeBaySelectionType SecondChanceOffer, BidAssistantListType BidAssistantList, ItemListCustomizationType DeletedFromWonList, ItemListCustomizationType DeletedFromLostList, ItemListCustomizationType BuyingSummary, MyeBaySelectionType UserDefinedLists, bool HideVariations)
		{
			this.WatchList = WatchList;
			this.BidList = BidList;
			this.BestOfferList = BestOfferList;
			this.WonList = WonList;
			this.LostList = LostList;
			this.FavoriteSearches = FavoriteSearches;
			this.FavoriteSellers = FavoriteSellers;
			this.SecondChanceOffer = SecondChanceOffer;
			this.BidAssistantList = BidAssistantList;
			this.DeletedFromWonList = DeletedFromWonList;
			this.DeletedFromLostList = DeletedFromLostList;
			this.BuyingSummary = BuyingSummary;
			this.UserDefinedLists = UserDefinedLists;
			this.HideVariations = HideVariations;

			Execute();
			return ApiResponse.BuyingSummary;
		}