com.easypost.model.PickupCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easypost-api-client Show documentation
Show all versions of easypost-api-client Show documentation
EasyPost Java Client Library for the EasyPost Shipping API
The newest version!
package com.easypost.model;
import com.easypost.net.EasyPostResource;
import java.util.List;
public final class PickupCollection extends EasyPostResource {
private List pickups;
private Boolean hasMore;
/**
* Get whether there are more Pickup objects to retrieve.
*
* @return whether there are more Pickup objects to retrieve.
*/
public Boolean getHasMore() {
return hasMore;
}
/**
* Set whether there are more Pickup objects to retrieve.
*
* @param hasMore whether there are more Pickup objects to retrieve.
*/
public void setHasMore(final Boolean hasMore) {
this.hasMore = hasMore;
}
/**
* Get this PickupCollection's Pickup objects.
*
* @return List of Pickup objects.
*/
public List getPickups() {
return pickups;
}
/**
* Set this PickupCollection's Pickup objects.
*
* @param pickups List of Pickup objects.
*/
public void setPickups(final List pickups) {
this.pickups = pickups;
}
}