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

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

There is a newer version: 28.2.0
Show newest version
// File generated from our OpenAPI spec
package com.stripe.model;

import com.stripe.Stripe;
import com.stripe.exception.StripeException;
import com.stripe.net.ApiResource;
import com.stripe.net.RequestOptions;
import com.stripe.param.BitcoinTransactionCollectionListParams;
import java.util.Map;

public class BitcoinTransactionCollection extends StripeCollection {
  /** List bitcoin transacitons for a given receiver. */
  public BitcoinTransactionCollection list(Map params) throws StripeException {
    return list(params, (RequestOptions) null);
  }

  /** List bitcoin transacitons for a given receiver. */
  public BitcoinTransactionCollection list(Map params, RequestOptions options)
      throws StripeException {
    String url = String.format("%s%s", Stripe.getApiBase(), this.getUrl());
    return ApiResource.requestCollection(url, params, BitcoinTransactionCollection.class, options);
  }

  /** List bitcoin transacitons for a given receiver. */
  public BitcoinTransactionCollection list(BitcoinTransactionCollectionListParams params)
      throws StripeException {
    return list(params, (RequestOptions) null);
  }

  /** List bitcoin transacitons for a given receiver. */
  public BitcoinTransactionCollection list(
      BitcoinTransactionCollectionListParams params, RequestOptions options)
      throws StripeException {
    String url = String.format("%s%s", Stripe.getApiBase(), this.getUrl());
    return ApiResource.requestCollection(url, params, BitcoinTransactionCollection.class, options);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy