/// <summary> /// Requests totals for the Buying and Selling reminders from the user's /// My eBay account. /// </summary> /// /// <param name="BuyingReminders"> /// Specifies the type of buying reminders for which you want information. /// </param> /// /// <param name="SellingReminders"> /// Specifies the type of selling reminders for which you want information. /// </param> /// public RemindersType GetMyeBayReminders(ReminderCustomizationType BuyingReminders, ReminderCustomizationType SellingReminders) { this.BuyingReminders = BuyingReminders; this.SellingReminders = SellingReminders; Execute(); return(ApiResponse.BuyingReminders); }
/// <summary> /// Requests totals for the Buying and Selling reminders from the user's /// My eBay account. /// </summary> /// /// <param name="BuyingReminders"> /// Specifies the type of buying reminders for which you want information. /// </param> /// /// <param name="SellingReminders"> /// Specifies the type of selling reminders for which you want information. /// </param> /// public RemindersType GetMyeBayReminders(ReminderCustomizationType BuyingReminders, ReminderCustomizationType SellingReminders) { this.BuyingReminders = BuyingReminders; this.SellingReminders = SellingReminders; Execute(); return ApiResponse.BuyingReminders; }
public void GetMyeBayReminders() { GetMyeBayRemindersCall api = new GetMyeBayRemindersCall(this.apiContext); ReminderCustomizationType rc = new ReminderCustomizationType(); rc.Include = true; rc.IncludeSpecified = true; rc.DurationInDays = 7; rc.DurationInDaysSpecified = true; api.BuyingReminders = rc; rc = new ReminderCustomizationType(); rc.Include = true; rc.IncludeSpecified = true; rc.DurationInDays = 7; rc.DurationInDaysSpecified = true; api.SellingReminders = rc; // Make API call. api.GetMyeBayReminders(); RemindersType buying = api.ApiResponse.BuyingReminders; RemindersType selling = api.ApiResponse.SellingReminders; }