Ejemplo n.º 1
0
        /// <summary>
        /// Get the next page of reports based on the original parameters used to generate the list
        /// </summary>
        /// <param name="client">Easy post client to use</param>
        /// <returns>A new ReportList instance.</returns>
        public async Task <ReportList> Next(
            IEasyPostClient client)
        {
            var options = Options ?? new ReportListOptions();

            options.BeforeId = Reports.Last().Id;
            return(await client.ListReports(Type, options));
        }