• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-java / #14673

16 Aug 2023 11:12PM UTC coverage: 14.689% (+3.7%) from 11.034%
#14673

push

github-actions

web-flow
Merge pull request #1633 from stripe/merge-upstream

12954 of 12954 new or added lines in 361 files covered. (100.0%)

15225 of 103649 relevant lines covered (14.69%)

0.15 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/stripe/service/financialconnections/InferredBalanceService.java
1
// File generated from our OpenAPI spec
2
package com.stripe.service.financialconnections;
3

4
import com.google.gson.reflect.TypeToken;
5
import com.stripe.exception.StripeException;
6
import com.stripe.model.StripeCollection;
7
import com.stripe.model.financialconnections.InferredBalance;
8
import com.stripe.net.ApiMode;
9
import com.stripe.net.ApiRequestParams;
10
import com.stripe.net.ApiResource;
11
import com.stripe.net.ApiService;
12
import com.stripe.net.BaseAddress;
13
import com.stripe.net.RequestOptions;
14
import com.stripe.net.StripeResponseGetter;
15
import com.stripe.param.financialconnections.InferredBalanceListParams;
16

17
public final class InferredBalanceService extends ApiService {
18
  public InferredBalanceService(StripeResponseGetter responseGetter) {
19
    super(responseGetter);
×
20
  }
×
21

22
  /** Lists the recorded inferred balances for a Financial Connections {@code Account}. */
23
  public StripeCollection<InferredBalance> list(String account, InferredBalanceListParams params)
24
      throws StripeException {
25
    return list(account, params, (RequestOptions) null);
×
26
  }
27
  /** Lists the recorded inferred balances for a Financial Connections {@code Account}. */
28
  public StripeCollection<InferredBalance> list(String account, RequestOptions options)
29
      throws StripeException {
30
    return list(account, (InferredBalanceListParams) null, options);
×
31
  }
32
  /** Lists the recorded inferred balances for a Financial Connections {@code Account}. */
33
  public StripeCollection<InferredBalance> list(String account) throws StripeException {
34
    return list(account, (InferredBalanceListParams) null, (RequestOptions) null);
×
35
  }
36
  /** Lists the recorded inferred balances for a Financial Connections {@code Account}. */
37
  public StripeCollection<InferredBalance> list(
38
      String account, InferredBalanceListParams params, RequestOptions options)
39
      throws StripeException {
40
    String path =
×
41
        String.format(
×
42
            "/v1/financial_connections/accounts/%s/inferred_balances",
43
            ApiResource.urlEncodeId(account));
×
44
    return getResponseGetter()
×
45
        .request(
×
46
            BaseAddress.API,
47
            ApiResource.RequestMethod.GET,
48
            path,
49
            ApiRequestParams.paramsToMap(params),
×
50
            new TypeToken<StripeCollection<InferredBalance>>() {}.getType(),
×
51
            options,
52
            ApiMode.V1);
53
  }
54
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc