-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for calculatedStatementDescriptor
on Charge
#859
Conversation
types/2020-03-02/index.d.ts
Outdated
@@ -1,8 +1,7 @@ | |||
///<reference path='../lib.d.ts' /> | |||
///<reference path='../shared.d.ts' /> | |||
///<reference path='../Errors.d.ts' /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug with codegen right?
calculatedStatementDescriptor
on Charge
calculatedStatementDescriptor
on Charge
2bb6e2f
to
8d40191
Compare
calculatedStatementDescriptor
on Charge
calculatedStatementDescriptor
on Charge
*/ | ||
pending_authorized_amount?: number; | ||
|
||
/** | ||
* The additional amount Stripe will hold if the authorization is approved. This field will only be non-zero during an `issuing.authorization.request` webhook. | ||
* [DEPRECATED] The additional amount Stripe will hold if the authorization is approved. This field will only be non-zero during an `issuing_authorization.request` webhook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we'd say what to do instead of the deprecated thing, but not a part of this PR.
@@ -6116,7 +6116,7 @@ declare module 'stripe' { | |||
status?: CardholderListParams.Status; | |||
|
|||
/** | |||
* Only return cardholders that have the given type. One of `individual`, `business_entity`, or `company`. | |||
* Only return cardholders that have the given type. One of `individual` or `company`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just calling out that this docstring and the one above now disagree with the types. I think that's probably fine (just implies that business_entity
is rare/unexpected, but possible).
Codegen for openapi afb5b18
r? @richardm-stripe @rattrayalex-stripe
cc @stripe/api-libraries