Skip to content

Commit

Permalink
Merge pull request #970 from stripe/remi/codegen-3daaba7
Browse files Browse the repository at this point in the history
Improve types for `customer` on `CreditNote` to support `DeletedCustomer`
  • Loading branch information
remi-stripe authored Jul 30, 2020
2 parents d221999 + fdfd31d commit 1d5db0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/2020-03-02/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ declare module 'stripe' {
application_fee_percent?: number;

/**
* The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription.
* The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription.
*/
coupon?: string;

Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/CreditNotes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ declare module 'stripe' {
/**
* ID of the customer.
*/
customer: string | Stripe.Customer;
customer: string | Stripe.Customer | Stripe.DeletedCustomer;

/**
* Customer balance transaction related to this credit note.
Expand Down

0 comments on commit 1d5db0d

Please sign in to comment.