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

stripe / stripe-java / #16660

21 Nov 2024 09:08PM CUT coverage: 12.4%. Remained the same
#16660

push

github

ramya-stripe
Bump version to 28.2.0-beta.1

18860 of 152092 relevant lines covered (12.4%)

0.12 hits per line

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

0.0
/src/main/java/com/stripe/examples/ExampleTemplate.java
1
package com.stripe.examples;
2

3
/**
4
 * This is a template for defining new examples. It is not intended to be used directly.
5
 *
6
 * <p>describe what this example does
7
 *
8
 * <p>In this example, we:
9
 *
10
 * <ul>
11
 *   <li>key step 1
12
 *   <li>key step 2
13
 *   <li>...
14
 * </ul>
15
 *
16
 * <p>describe assumptions about the user's stripe account, environment, or configuration; or things
17
 * to watch out for when running
18
 */
19
public class ExampleTemplate {
20

21
  @SuppressWarnings("unused")
22
  private String apiKey;
23

24
  public ExampleTemplate(String apiKey) {
×
25
    this.apiKey = apiKey;
×
26
  }
×
27

28
  @SuppressWarnings("CatchAndPrintStackTrace")
29
  public void doSomethingGreat() {
30

31
    try {
32
      System.out.println("Hello World");
×
33
      // StripeClient client = new StripeClient(this.apiKey);
34
      // client.v2()....
35
    } catch (Exception e) {
×
36
      e.printStackTrace();
×
37
    }
×
38
  }
×
39

40
  public static void main(String[] args) {
41
    String apiKey = "{{API_KEY}}";
×
42

43
    ExampleTemplate example = new ExampleTemplate(apiKey);
×
44
    example.doSomethingGreat();
×
45
  }
×
46
}
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