-
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 flat_amount
on Plan tiers.
#1373
Conversation
@@ -4,6 +4,9 @@ namespace Stripe | |||
|
|||
public class PlanTier : StripeEntity | |||
{ | |||
[JsonProperty("flat_amount")] | |||
public long FlatAmount { 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.
This should be nullable.
(UnitAmount
should be nullable too btw, but I guess that'd be a breaking change, so let's fix in the next major version.)
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.
Well, a user just reported a breakage because UnitAmount
is not nullable (#1375) so let's try and fix that ASAP.
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.
Well this is going in a breaking release already so fixing now.
d9bfaf9
to
7cd3e72
Compare
@ob-stripe Fixed, PTAL |
This fixes #1375 |
r? @ob-stripe
cc @stripe/api-libraries
Fixes #1375.