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

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

The newest version!
package com.easypost.model;

import com.easypost.net.EasyPostResource;

import java.util.List;

public final class ParcelCollection extends EasyPostResource {
    private List parcels;
    private Boolean hasMore;

    /**
     * Get whether there are more Parcels to retrieve.
     *
     * @return true if there are more Parcels to retrieve, false otherwise.
     */
    public Boolean getHasMore() {
        return hasMore;
    }

    /**
     * Set whether there are more Parcels to retrieve.
     *
     * @param hasMore true if there are more Parcels to retrieve, false otherwise.
     */
    public void setHasMore(final Boolean hasMore) {
        this.hasMore = hasMore;
    }

    /**
     * Get a list of this ParcelCollections Parcel objects.
     *
     * @return List of Parcel objects.
     */
    public List getParcels() {
        return parcels;
    }

    /**
     * Set this ParcelCollections Parcel objects.
     *
     * @param parcels List of Parcel objects.
     */
    public void setParcels(final List parcels) {
        this.parcels = parcels;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy