Skip to content

Commit

Permalink
Update generated code (#2086)
Browse files Browse the repository at this point in the history
Update generated code for v1020

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed May 9, 2024
1 parent 2812903 commit a4c83d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
@@ -1 +1 @@
v1019
v1020
7 changes: 0 additions & 7 deletions types/SubscriptionsResource.d.ts
Expand Up @@ -157,11 +157,6 @@ declare module 'stripe' {
SubscriptionCreateParams.PendingInvoiceItemInterval
>;

/**
* How to handle a customer's pending invoice items if an invoice will be generated. Defaults to `include` if the parameter is omitted.
*/
pending_invoice_items_behavior?: SubscriptionCreateParams.PendingInvoiceItemsBehavior;

/**
* The ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
*/
Expand Down Expand Up @@ -802,8 +797,6 @@ declare module 'stripe' {
type Interval = 'day' | 'month' | 'week' | 'year';
}

type PendingInvoiceItemsBehavior = 'exclude' | 'include';

type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';

interface TransferData {
Expand Down

0 comments on commit a4c83d4

Please sign in to comment.