com.easypost.model.BatchCollection 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 BatchCollection extends EasyPostResource {
private List batches;
private Boolean hasMore;
/**
* Get a list of batches.
*
* @return List of Batch objects.
*/
public List getBatches() {
return batches;
}
/**
* Set a list of batches.
*
* @param batches List of Batch objects.
*/
public void setBatches(final List batches) {
this.batches = batches;
}
/**
* Get whether there are more batches to retrieve.
*
* @return true if there are more batches to retrieve, false otherwise.
*/
public Boolean getHasMore() {
return hasMore;
}
/**
* Set whether there are more batches to retrieve.
*
* @param hasMore true if there are more batches to retrieve, false otherwise.
*/
public void setHasMore(final Boolean hasMore) {
this.hasMore = hasMore;
}
}