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: 26.13.0-beta.1
Show newest version
package com.stripe.model;

import com.stripe.net.RequestOptions;
import java.util.List;
import java.util.Map;

public interface StripeCollectionInterface {
  List getData();

  Boolean getHasMore();

  Long getTotalCount();

  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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy