Skip to content

Codegen for openapi 28a5c69 + new API version#886

Merged
remi-stripe merged 1 commit intomasterfrom
remi/codegen-28a5c69
Nov 6, 2019
Merged

Codegen for openapi 28a5c69 + new API version#886
remi-stripe merged 1 commit intomasterfrom
remi/codegen-28a5c69

Conversation

@remi-stripe
Copy link
Contributor

Move to the latest API version and add new changes

  • Move to API version 2019-11-05
  • Add default_settings on SubscritionSchedule
  • Remove billing_thresholds and collection_method, default_payment_method default_source and invoice_settings from `SubscriptionSchedule.
  • Add charge filter when listing Dispute.

r? @ob-stripe
cc @stripe/api-libraries

Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a minor comment, but seems okay to me.

@Setter(lombok.AccessLevel.NONE)
ExpandableField<PaymentSource> defaultSource;
@SerializedName("default_settings")
DefaultSettings defaultSettings;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice that a lot of fields in this file seem to have a docblock, in case you want to add one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it's autogen-ed from the spec so not something I should add manually. But nice catch, I'll get the team to fix it

@remi-stripe remi-stripe merged commit ec76b9e into master Nov 6, 2019
@remi-stripe remi-stripe deleted the remi/codegen-28a5c69 branch November 6, 2019 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants