From 6b9d50e02e6b58db77ff64bdb6d6dc1b2725299f Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 14:52:03 +0000 Subject: [PATCH] Update generated code for v602 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/Customer.java | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bb650b27311..d42b9191871 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v601 \ No newline at end of file +v602 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/Customer.java b/src/main/java/com/stripe/model/Customer.java index b4c268b0701..2c2540732be 100644 --- a/src/main/java/com/stripe/model/Customer.java +++ b/src/main/java/com/stripe/model/Customer.java @@ -88,13 +88,18 @@ public class Customer extends ApiResource implements HasId, MetadataStoreIf an invoice becomes uncollectible by dunning, {@code delinquent} * doesn't reset to {@code false}. + * + *

If you care whether the customer has paid their most recent subscription invoice, use {@code + * subscription.status} instead. Paying or marking uncollectible any customer invoice regardless + * of whether it is the latest invoice for a subscription will always set this field to {@code + * false}. */ @SerializedName("delinquent") Boolean delinquent;