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

com.stripe.model.StripeCollectionInterface Maven / Gradle / Ivy

There is a newer version: 28.1.0-beta.3
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy