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

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

The newest version!
package com.easypost.model;

import com.easypost.net.EasyPostResource;

import java.util.List;

public final class OrderCollection extends EasyPostResource {
    private List orders;
    private Boolean hasMore;

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

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

    /**
     * Get a list of orders.
     *
     * @return List of Order objects.
     */
    public List getOrders() {
        return orders;
    }

    /**
     * Set a list of orders.
     *
     * @param orders List of Order objects.
     */
    public void setOrders(final List orders) {
        this.orders = orders;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy