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

4
import com.google.gson.annotations.SerializedName;
5
import com.stripe.model.HasId;
6
import com.stripe.model.StripeObject;
7
import java.time.Instant;
8
import lombok.EqualsAndHashCode;
9
import lombok.Getter;
10
import lombok.Setter;
11

12
@Getter
13
@Setter
14
@EqualsAndHashCode(callSuper = false)
NEW
15
public class MeterEventAdjustment extends StripeObject implements HasId {
×
16
  /** Specifies which event to cancel. */
17
  @SerializedName("cancel")
18
  Cancel cancel;
19

20
  /** The time the adjustment was created. */
21
  @SerializedName("created")
22
  Instant created;
23

24
  /** The name of the meter event. Corresponds with the {@code event_name} field on a meter. */
25
  @SerializedName("event_name")
26
  String eventName;
27

28
  /** The unique id of this meter event adjustment. */
29
  @Getter(onMethod_ = {@Override})
30
  @SerializedName("id")
31
  String id;
32

33
  /**
34
   * Has the value {@code true} if the object exists in live mode or the value {@code false} if the
35
   * object exists in test mode.
36
   */
37
  @SerializedName("livemode")
38
  Boolean livemode;
39

40
  /**
41
   * String representing the object's type. Objects of the same type share the same value of the
42
   * object field.
43
   *
44
   * <p>Equal to {@code billing.meter_event_adjustment}.
45
   */
46
  @SerializedName("object")
47
  String object;
48

49
  /**
50
   * Open Enum. The meter event adjustment’s status.
51
   *
52
   * <p>One of {@code complete}, or {@code pending}.
53
   */
54
  @SerializedName("status")
55
  String status;
56

57
  /**
58
   * Open Enum. Specifies whether to cancel a single event or a range of events for a time period.
59
   * Time period cancellation is not supported yet.
60
   *
61
   * <p>Equal to {@code cancel}.
62
   */
63
  @SerializedName("type")
64
  String type;
65

66
  @Getter
67
  @Setter
68
  @EqualsAndHashCode(callSuper = false)
NEW
69
  public static class Cancel extends StripeObject {
×
70
    /**
71
     * Unique identifier for the event. You can only cancel events within 24 hours of Stripe
72
     * receiving them.
73
     */
74
    @SerializedName("identifier")
75
    String identifier;
76
  }
77
}
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