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

stripe / stripe-java / #16493

03 Oct 2024 07:15PM UTC coverage: 12.942% (+0.08%) from 12.864%
#16493

push

github

web-flow
Merge Stripe-java v27.0.0 to beta branch (#1888)

409 of 1651 new or added lines in 88 files covered. (24.77%)

31 existing lines in 7 files now uncovered.

18773 of 145050 relevant lines covered (12.94%)

0.13 hits per line

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

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

3
/**
4
 * To create a new example, clone this file and implement your example.
5
 *
6
 * <p>To run from VS Code: 1. make sure the recommended extensions are installed 2. right click on
7
 * your new file in the Explorer 3. click Run Java or Debug Java 4. witness greatness.
8
 */
9
public class NewExample {
10

11
  @SuppressWarnings("unused")
12
  private String apiKey;
13

NEW
14
  public NewExample(String apiKey) {
×
NEW
15
    this.apiKey = apiKey;
×
NEW
16
  }
×
17

18
  @SuppressWarnings("CatchAndPrintStackTrace")
19
  public void doSomethingGreat() {
20

21
    try {
NEW
22
      System.out.println("Hello World");
×
23
      // StripeClient client = new StripeClient(this.apiKey);
24
      // client.v2()....
NEW
25
    } catch (Exception e) {
×
NEW
26
      e.printStackTrace();
×
NEW
27
    }
×
NEW
28
  }
×
29

30
  public static void main(String[] args) {
NEW
31
    String apiKey = "{{API_KEY}}";
×
32

NEW
33
    NewExample example = new NewExample(apiKey);
×
NEW
34
    example.doSomethingGreat();
×
NEW
35
  }
×
36
}
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

© 2026 Coveralls, Inc