From ea13ec25f9ecc67ff9e6d7492b1bed0138a1227d Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 21:54:18 +0000 Subject: [PATCH] Update generated code for v684 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/Event.java | 5 ++++- .../param/WebhookEndpointCreateParams.java | 21 +++++++++++++++++++ .../param/WebhookEndpointUpdateParams.java | 21 +++++++++++++++++++ 4 files changed, 47 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 88cba600871..01af7187fb6 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v683 \ No newline at end of file +v684 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/Event.java b/src/main/java/com/stripe/model/Event.java index 554964dddf7..64f9a5e30cc 100644 --- a/src/main/java/com/stripe/model/Event.java +++ b/src/main/java/com/stripe/model/Event.java @@ -115,7 +115,10 @@ public class Event extends ApiResource implements HasId { * {@code charge.refund.updated}, {@code charge.refunded}, {@code charge.succeeded}, {@code * charge.updated}, {@code checkout.session.async_payment_failed}, {@code * checkout.session.async_payment_succeeded}, {@code checkout.session.completed}, {@code - * checkout.session.expired}, {@code coupon.created}, {@code coupon.deleted}, {@code + * checkout.session.expired}, {@code climate.order.canceled}, {@code climate.order.created}, + * {@code climate.order.delayed}, {@code climate.order.delivered}, {@code + * climate.order.product_substituted}, {@code climate.product.created}, {@code + * climate.product.pricing_updated}, {@code coupon.created}, {@code coupon.deleted}, {@code * coupon.updated}, {@code credit_note.created}, {@code credit_note.updated}, {@code * credit_note.voided}, {@code customer.created}, {@code customer.deleted}, {@code * customer.discount.created}, {@code customer.discount.deleted}, {@code diff --git a/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java b/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java index 9c25627f6bf..12cbf536e6e 100644 --- a/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java +++ b/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java @@ -690,6 +690,27 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam { @SerializedName("checkout.session.expired") CHECKOUT__SESSION__EXPIRED("checkout.session.expired"), + @SerializedName("climate.order.canceled") + CLIMATE__ORDER__CANCELED("climate.order.canceled"), + + @SerializedName("climate.order.created") + CLIMATE__ORDER__CREATED("climate.order.created"), + + @SerializedName("climate.order.delayed") + CLIMATE__ORDER__DELAYED("climate.order.delayed"), + + @SerializedName("climate.order.delivered") + CLIMATE__ORDER__DELIVERED("climate.order.delivered"), + + @SerializedName("climate.order.product_substituted") + CLIMATE__ORDER__PRODUCT_SUBSTITUTED("climate.order.product_substituted"), + + @SerializedName("climate.product.created") + CLIMATE__PRODUCT__CREATED("climate.product.created"), + + @SerializedName("climate.product.pricing_updated") + CLIMATE__PRODUCT__PRICING_UPDATED("climate.product.pricing_updated"), + @SerializedName("coupon.created") COUPON__CREATED("coupon.created"), diff --git a/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java b/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java index 4fe21540baa..dd763290888 100644 --- a/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java +++ b/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java @@ -360,6 +360,27 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam { @SerializedName("checkout.session.expired") CHECKOUT__SESSION__EXPIRED("checkout.session.expired"), + @SerializedName("climate.order.canceled") + CLIMATE__ORDER__CANCELED("climate.order.canceled"), + + @SerializedName("climate.order.created") + CLIMATE__ORDER__CREATED("climate.order.created"), + + @SerializedName("climate.order.delayed") + CLIMATE__ORDER__DELAYED("climate.order.delayed"), + + @SerializedName("climate.order.delivered") + CLIMATE__ORDER__DELIVERED("climate.order.delivered"), + + @SerializedName("climate.order.product_substituted") + CLIMATE__ORDER__PRODUCT_SUBSTITUTED("climate.order.product_substituted"), + + @SerializedName("climate.product.created") + CLIMATE__PRODUCT__CREATED("climate.product.created"), + + @SerializedName("climate.product.pricing_updated") + CLIMATE__PRODUCT__PRICING_UPDATED("climate.product.pricing_updated"), + @SerializedName("coupon.created") COUPON__CREATED("coupon.created"),