com.stripe.model.StripeCollectionInterface Maven / Gradle / Ivy
package com.stripe.model;
import com.stripe.net.RequestOptions;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
public interface StripeCollectionInterface extends StripeObjectInterface {
List getData();
Boolean getHasMore();
String getUrl();
/**
* Get request options that were used to fetch the collection. This is useful for purposes of
* pagination.
*/
RequestOptions getRequestOptions();
/**
* Get request parameters that were used to fetch the collection. This is useful for purposes of
* pagination.
*/
Map getRequestParams();
/**
* Set request options that were used to fetch the collection. This is required for purposes of
* pagination.
*/
void setRequestOptions(RequestOptions requestOptions);
/**
* Set request parameters that were used to fetch the collection. This is required for purposes of
* pagination.
*/
void setRequestParams(Map requestParams);
void setPageTypeToken(Type type);
}