Example #1
0
        /// <summary>
        /// Get the next page of shipments based on the original parameters used to generate the list
        /// </summary>
        /// <param name="client">Easy post client to use</param>
        /// <returns>A new ShipmentList instance.</returns>
        public async Task <TrackerList> Next(
            IEasyPostClient client)
        {
            var options = Options ?? new TrackerListOptions();

            options.BeforeId = Trackers.Last().Id;
            return(await client.ListTrackers(options));
        }