Skip to content

Commit cb3848d

Browse files
Update generated code for v2187 and
1 parent 8d5d19f commit cb3848d

152 files changed

Lines changed: 7115 additions & 950 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e10daa4ed23a4fe87d6ea60836226446e042fdd3
1+
1cb97a6991239fb2e712c8d1a8f126ad835b9ca3

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2186
1+
v2187

src/main/java/com/stripe/ApiVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
package com.stripe;
33

44
final class ApiVersion {
5-
public static final String CURRENT = "2026-01-28.preview";
5+
public static final String CURRENT = "2026-02-25.preview";
66
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.google.gson.annotations.SerializedName;
5+
import com.stripe.exception.StripeException;
6+
import com.stripe.model.v2.billing.RateCardCustomPricingUnitOverageRate;
7+
import com.stripe.model.v2.core.Event;
8+
import com.stripe.model.v2.core.Event.RelatedObject;
9+
import java.time.Instant;
10+
import lombok.Getter;
11+
import lombok.Setter;
12+
13+
@Getter
14+
public final class V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent extends Event {
15+
/** Data for the v2.billing.rate_card_custom_pricing_unit_overage_rate.created event. */
16+
@SerializedName("data")
17+
V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent.EventData data;
18+
19+
@Getter
20+
@Setter
21+
public static final class EventData {
22+
/** Timestamp of when the object was created. */
23+
@SerializedName("created")
24+
Instant created;
25+
/** The ID of the custom pricing unit this overage rate applies to. */
26+
@SerializedName("custom_pricing_unit")
27+
String customPricingUnit;
28+
/** The ID of the RateCard which this custom pricing unit overage rate belongs to. */
29+
@SerializedName("rate_card")
30+
String rateCard;
31+
/** The ID of the RateCard Version when the custom pricing unit overage rate was created. */
32+
@SerializedName("rate_card_version")
33+
String rateCardVersion;
34+
}
35+
36+
@SerializedName("related_object")
37+
38+
/** Object containing the reference to API resource relevant to the event. */
39+
RelatedObject relatedObject;
40+
41+
/** Retrieves the related object from the API. Make an API request on every call. */
42+
public RateCardCustomPricingUnitOverageRate fetchRelatedObject() throws StripeException {
43+
return (RateCardCustomPricingUnitOverageRate) super.fetchRelatedObject(this.relatedObject);
44+
}
45+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.google.gson.annotations.SerializedName;
5+
import com.stripe.exception.StripeException;
6+
import com.stripe.model.v2.billing.RateCardCustomPricingUnitOverageRate;
7+
import com.stripe.model.v2.core.Event.RelatedObject;
8+
import com.stripe.model.v2.core.EventNotification;
9+
import lombok.Getter;
10+
11+
@Getter
12+
public final class V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification
13+
extends EventNotification {
14+
@SerializedName("related_object")
15+
16+
/** Object containing the reference to API resource relevant to the event. */
17+
RelatedObject relatedObject;
18+
19+
/** Retrieves the related object from the API. Make an API request on every call. */
20+
public RateCardCustomPricingUnitOverageRate fetchRelatedObject() throws StripeException {
21+
return (RateCardCustomPricingUnitOverageRate) super.fetchRelatedObject(this.relatedObject);
22+
}
23+
/** Retrieve the corresponding full event from the Stripe API. */
24+
@Override
25+
public V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent fetchEvent()
26+
throws StripeException {
27+
return (V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent) super.fetchEvent();
28+
}
29+
}

src/main/java/com/stripe/events/V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public static final class EventData {
2222
/**
2323
* Open Enum. The capability which had its status updated.
2424
*
25-
* <p>One of {@code financial_addressses.bank_accounts}, {@code
26-
* financial_addressses.crypto_wallets}, {@code holds_currencies.eur}, {@code
25+
* <p>One of {@code consumer.holds_currencies.usd}, {@code financial_addressses.bank_accounts},
26+
* {@code financial_addressses.crypto_wallets}, {@code holds_currencies.eur}, {@code
2727
* holds_currencies.gbp}, {@code holds_currencies.usd}, {@code holds_currencies.usdc}, {@code
2828
* inbound_transfers.bank_accounts}, {@code outbound_payments.bank_accounts}, {@code
2929
* outbound_payments.cards}, {@code outbound_payments.crypto_wallets}, {@code
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.stripe.model.v2.core.Event;
5+
6+
public final class V2IamStripeAccessGrantApprovedEvent extends Event {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.stripe.exception.StripeException;
5+
import com.stripe.model.v2.core.EventNotification;
6+
7+
public final class V2IamStripeAccessGrantApprovedEventNotification extends EventNotification {
8+
/** Retrieve the corresponding full event from the Stripe API. */
9+
@Override
10+
public V2IamStripeAccessGrantApprovedEvent fetchEvent() throws StripeException {
11+
return (V2IamStripeAccessGrantApprovedEvent) super.fetchEvent();
12+
}
13+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.stripe.model.v2.core.Event;
5+
6+
public final class V2IamStripeAccessGrantCanceledEvent extends Event {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.stripe.exception.StripeException;
5+
import com.stripe.model.v2.core.EventNotification;
6+
7+
public final class V2IamStripeAccessGrantCanceledEventNotification extends EventNotification {
8+
/** Retrieve the corresponding full event from the Stripe API. */
9+
@Override
10+
public V2IamStripeAccessGrantCanceledEvent fetchEvent() throws StripeException {
11+
return (V2IamStripeAccessGrantCanceledEvent) super.fetchEvent();
12+
}
13+
}

0 commit comments

Comments
 (0)