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

stripe / stripe-java / #16660

21 Nov 2024 09:08PM UTC 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/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
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
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

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

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

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

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

© 2025 Coveralls, Inc