com.easypost.model.InsuranceCollection 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 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;
}
}