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 new methods on the Invoice resource #1343

Merged
merged 1 commit into from
Nov 8, 2018

Conversation

remi-stripe
Copy link
Contributor

This is a breaking change as it will be linked to a new API version since we are removing some fields.

cc @stripe/api-libraries

@remi-stripe
Copy link
Contributor Author

Removing ob since this can not be released before we have the new API version ready.

@remi-stripe remi-stripe changed the title Add support for new methods on the Invoice resource [WIP] Add support for new methods on the Invoice resource Oct 19, 2018
@ob-stripe ob-stripe force-pushed the integration-next-major-version branch 2 times, most recently from c6704cd to e9fd90d Compare October 22, 2018 16:02
@ob-stripe ob-stripe changed the base branch from integration-next-major-version to master October 22, 2018 19:06
@remi-stripe remi-stripe force-pushed the remi-add-invoice-methods branch from bd0098f to cb17623 Compare October 22, 2018 23:50
@remi-stripe remi-stripe force-pushed the remi-add-invoice-methods branch 2 times, most recently from 67198e4 to f9bbae7 Compare November 8, 2018 23:01
@remi-stripe remi-stripe changed the title [WIP] Add support for new methods on the Invoice resource Add support for new methods on the Invoice resource Nov 8, 2018
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 one comment, but looks good to me!

ptal @remi-stripe

@@ -38,6 +38,9 @@ public class InvoiceCreateOptions : BaseOptions
[JsonProperty("days_until_due")]
public long? DaysUntilDue { get; set; }

[JsonProperty("default_source")]
public string DefaultSource { get; set; }

Copy link
Contributor

Choose a reason for hiding this comment

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

If AutoAdvance belongs in InvoiceParams in Go, doesn't it belong in either create or update here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome, nice catch. I totally missed those 2 when I did the PR. Fixed, PTAL

@remi-stripe remi-stripe force-pushed the remi-add-invoice-methods branch from f9bbae7 to 8398df4 Compare November 8, 2018 23:19
@brandur-stripe
Copy link
Contributor

LGTM.

@remi-stripe remi-stripe merged commit c8fbee3 into master Nov 8, 2018
@remi-stripe remi-stripe deleted the remi-add-invoice-methods branch November 8, 2018 23:43
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.

3 participants