Class PickupCollection
Class representing a collection of EasyPost Pickup objects.
Inheritance
System.Object
PickupCollection
Implements
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class PickupCollection : PaginatedCollection<Pickup>, IEasyPostObject
Properties
| Improve this Doc View SourcePickups
The Pickups in the collection.
Declaration
public List<Pickup>? Pickups { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<List<Pickup>> |
Methods
| Improve this Doc View SourceBuildNextPageParameters<TParameters>(IEnumerable<Pickup>, Nullable<Int32>)
Construct the parameter set for retrieving the next page of this paginated collection.
Declaration
public override TParameters BuildNextPageParameters<TParameters>(IEnumerable<Pickup> entries, int? pageSize = null)
where TParameters : BaseParameters<Pickup>
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Pickup> | entries | The entries on the current page of this paginated collection. |
| System.Nullable<System.Int32> | pageSize | The request size of the next page. |
Returns
| Type | Description |
|---|---|
| TParameters | A TParameters-type parameters set. |
Type Parameters
| Name | Description |
|---|---|
| TParameters | The type of parameters to construct. |
Overrides
EasyPost.Models.Shared.PaginatedCollection<EasyPost.Models.API.Pickup>.BuildNextPageParameters<TParameters>(IEnumerable<EasyPost.Models.API.Pickup>, System.Nullable<System.Int32>)