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<ShipmentList> Next(
     IEasyPostClient client)
 {
     var options = Options ?? new ShipmentListOptions();
     options.BeforeId = Shipments.Last().Id;
     return await client.ListShipments(options);
 }