Example #1
0
 /// <summary>
 ///  This method queries the server and returns a list of available delivery times that the retailer can choose from
 /// </summary>
 /// <param name="country">ISO Alpha-2 Code - https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2</param>
 /// <param name="zipCode">The zipcode of the region that you want to check></param>
 /// <param name="firstDeliveryDay">Start date for the available windows</param>
 /// <param name="placeId">Id of the pickup place from where the request originates</param>
 /// <returns>A collection of schedules for the customer to chose from based on requested placeId</returns>
 public async Task <ScheduleCollection> GetDeliveryIntervalsAsync(string country, string zipCode, string placeId, DateTime?firstDeliveryDay)
 {
     return(await _apiCaller.GetDeliveryIntervalsAsync(country, zipCode, placeId, firstDeliveryDay));
 }