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

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

The newest version!
package com.easypost.model;

import com.easypost.net.EasyPostResource;

import java.util.List;

public final class InsuranceCollection extends EasyPostResource {
    private List insurances;
    private Boolean hasMore;

    /**
     * Get whether there are more insurances.
     *
     * @return true if there are more insurances.
     */
    public Boolean getHasMore() {
        return hasMore;
    }

    /**
     * Set whether there are more insurances.
     *
     * @param hasMore true if there are more insurances.
     */
    public void setHasMore(final Boolean hasMore) {
        this.hasMore = hasMore;
    }

    /**
     * Get the list of insurances.
     *
     * @return List of Insurance objects.
     */
    public List getInsurances() {
        return insurances;
    }

    /**
     * Set the list of insurances.
     *
     * @param insurances List of Insurance objects.
     */
    public void setInsurances(final List insurances) {
        this.insurances = insurances;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy