All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easypost.model.BatchCollection Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy