-
Notifications
You must be signed in to change notification settings - Fork 572
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
Conversation
e0be641
to
bd0098f
Compare
Removing ob since this can not be released before we have the new API version ready. |
c6704cd
to
e9fd90d
Compare
bd0098f
to
cb17623
Compare
67198e4
to
f9bbae7
Compare
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.
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; } | |||
|
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.
If AutoAdvance
belongs in InvoiceParams
in Go, doesn't it belong in either create or update here too?
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.
Awesome, nice catch. I totally missed those 2 when I did the PR. Fixed, PTAL
f9bbae7
to
8398df4
Compare
LGTM. |
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