Skip to content
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

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

remi-stripe
Copy link
Contributor

Codegen for openapi afb5b18

r? @richardm-stripe @rattrayalex-stripe
cc @stripe/api-libraries

@@ -1,8 +1,7 @@
///<reference path='../lib.d.ts' />
///<reference path='../shared.d.ts' />
///<reference path='../Errors.d.ts' />
Copy link
Contributor Author

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?

@remi-stripe remi-stripe changed the title Add support for calculatedStatementDescriptor on Charge [WIP]Add support for calculatedStatementDescriptor on Charge Apr 3, 2020
@remi-stripe remi-stripe force-pushed the remi/codegen-afb5b18 branch from 2bb6e2f to 8d40191 Compare April 3, 2020 20:12
@remi-stripe remi-stripe changed the title [WIP]Add support for calculatedStatementDescriptor on Charge Add support for calculatedStatementDescriptor on Charge Apr 3, 2020
*/
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.
Copy link
Contributor

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`.
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants