• 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/events/V1BillingMeterNoMeterFoundEvent.java
1
// File generated from our OpenAPI spec
2
package com.stripe.events;
3

4
import com.google.gson.annotations.SerializedName;
5
import com.stripe.model.v2.Event;
6
import java.time.Instant;
7
import java.util.List;
8
import lombok.Getter;
9
import lombok.Setter;
10

11
@Getter
NEW
12
public final class V1BillingMeterNoMeterFoundEvent extends Event {
×
13
  /** Data for the v1.billing.meter.no_meter_found event. */
14
  @SerializedName("data")
15
  V1BillingMeterNoMeterFoundEvent.EventData data;
16

17
  @Getter
18
  @Setter
NEW
19
  public static final class EventData {
×
20
    /** Extra field included in the event's {@code data} when fetched from /v2/events. */
21
    @SerializedName("developer_message_summary")
22
    String developerMessageSummary;
23
    /** This contains information about why meter error happens. */
24
    @SerializedName("reason")
25
    Reason reason;
26
    /** The end of the window that is encapsulated by this summary. */
27
    @SerializedName("validation_end")
28
    Instant validationEnd;
29
    /** The start of the window that is encapsulated by this summary. */
30
    @SerializedName("validation_start")
31
    Instant validationStart;
32

NEW
33
    public static final class Reason {
×
34
      /** The total error count within this window. */
35
      @SerializedName("error_count")
36
      Integer errorCount;
37
      /** The error details. */
38
      @SerializedName("error_types")
39
      List<V1BillingMeterNoMeterFoundEvent.EventData.Reason.ErrorType> errorTypes;
40

NEW
41
      public static final class ErrorType {
×
42
        /**
43
         * Open Enum.
44
         *
45
         * <p>One of {@code archived_meter}, {@code meter_event_customer_not_found}, {@code
46
         * meter_event_dimension_count_too_high}, {@code meter_event_invalid_value}, {@code
47
         * meter_event_no_customer_defined}, {@code missing_dimension_payload_keys}, {@code
48
         * no_meter}, {@code timestamp_in_future}, or {@code timestamp_too_far_in_past}.
49
         */
50
        @SerializedName("code")
51
        String code;
52
        /** The number of errors of this type. */
53
        @SerializedName("error_count")
54
        Integer errorCount;
55
        /** A list of sample errors of this type. */
56
        @SerializedName("sample_errors")
57
        List<V1BillingMeterNoMeterFoundEvent.EventData.Reason.ErrorType.SampleError> sampleErrors;
58

NEW
59
        public static final class SampleError {
×
60
          /** The error message. */
61
          @SerializedName("error_message")
62
          String errorMessage;
63
          /** The request causes the error. */
64
          @SerializedName("request")
65
          Request request;
66

NEW
67
          public static final class Request {
×
68
            /** The request idempotency key. */
69
            @SerializedName("identifier")
70
            String identifier;
71
          }
72
        }
73
      }
74
    }
75
  }
76
}
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