Skip to content

Commit

Permalink
Update generated code for v602
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 14, 2023
1 parent e33aad7 commit 6b9d50e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v601
v602
11 changes: 8 additions & 3 deletions src/main/java/com/stripe/model/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,18 @@ public class Customer extends ApiResource implements HasId, MetadataStore<Custom
Boolean deleted;

/**
* If Stripe bills the customer's latest invoice by automatically charging and the latest charge
* fails, it sets {@code delinquent`` to }true{@code . If Stripe bills the invoice by sending it,
* and the invoice isn't paid by the due date, it also sets `delinquent} to {@code true}.
* Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice
* or marking it uncollectible via the API will set this field to false. An automatic payment
* failure or passing the {@code invoice.due_date} will set this field to {@code true}.
*
* <p>If an invoice becomes uncollectible by <a
* href="https://stripe.com/docs/billing/automatic-collection">dunning</a>, {@code delinquent}
* doesn't reset to {@code false}.
*
* <p>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;
Expand Down

0 comments on commit 6b9d50e

Please sign in to comment.