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 extra properties to the Invoice object #1207

Merged
merged 1 commit into from
Jun 20, 2018

Conversation

remi-stripe
Copy link
Contributor

Add support for amount_remaining and billing_reason to the Invoice object.

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

@@ -31,6 +34,8 @@ public class StripeInvoice : StripeEntityWithId, ISupportMetadata
[JsonProperty("billing")]
public StripeBilling? Billing { get; set; }

public string BillingReason { get; set; }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

minor but I almost created an Enum and then realized there are like 2 files today. We should discuss the benefits of Enums and whether it's worth porting all the properties to Enums (which I would happily do if so)

@ob-stripe ob-stripe merged commit d622dec into master Jun 20, 2018
@ob-stripe ob-stripe deleted the remi-invoice-add-properties branch June 20, 2018 16:37
@ob-stripe
Copy link
Contributor

Released in 16.11.0.

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

Successfully merging this pull request may close these issues.

2 participants