com.easypost.model.AddressCollection 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 AddressCollection extends EasyPostResource {
private List addresses;
private Boolean hasMore;
/**
* Get a list of addresses.
*
* @return List of Batch objects
*/
public List getAddresses() {
return addresses;
}
/**
* Set a list of addresses.
*
* @param addresses List of Batch objects
*/
public void setAddresses(final List addresses) {
this.addresses = addresses;
}
/**
* Get whether there are more addresses to retrieve.
*
* @return whether there are more addresses to retrieve
*/
public Boolean getHasMore() {
return hasMore;
}
/**
* Set whether there are more addresses to retrieve.
*
* @param hasMore Boolean whether there are more addresses to retrieve
*/
public void setHasMore(final Boolean hasMore) {
this.hasMore = hasMore;
}
}