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 missing property/params to the InvoiceItem resource #1223

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

remi-stripe
Copy link
Contributor

  • Add unit_amount everywhere
  • Add quantity on create and update
  • Remove currency on update as it's not valid

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

* Add unit_amount everywhere
* Add quantity on create and update
* Remove currency on update as it's not valid
@@ -11,13 +11,16 @@ public class StripeInvoiceItemUpdateOptions : StripeBaseOptions, ISupportMetadat
[JsonProperty("description")]
public string Description { get; set; }

[JsonProperty("currency")]
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 not valid per https://stripe.com/docs/api#update_invoiceitem which means it never worked so not sure if a breaking change

Copy link
Contributor

Choose a reason for hiding this comment

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

If it never worked, then it's not a breaking change IMO.

@ob-stripe ob-stripe merged commit 6f3bc2c into master Jul 6, 2018
@ob-stripe ob-stripe deleted the remi-add-unit-pricing branch July 6, 2018 13:29
@ob-stripe
Copy link
Contributor

Released in 16.16.0.

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.

2 participants