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 flat_amount on Plan tiers. #1373

Merged
merged 1 commit into from
Nov 8, 2018

Conversation

remi-stripe
Copy link
Contributor

@remi-stripe remi-stripe commented Nov 7, 2018

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

Fixes #1375.

@@ -4,6 +4,9 @@ namespace Stripe

public class PlanTier : StripeEntity
{
[JsonProperty("flat_amount")]
public long FlatAmount { 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.

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.)

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@remi-stripe remi-stripe force-pushed the remi-plan-add-flat-amount branch from d9bfaf9 to 7cd3e72 Compare November 7, 2018 15:23
@remi-stripe
Copy link
Contributor Author

@ob-stripe Fixed, PTAL

@remi-stripe
Copy link
Contributor Author

This fixes #1375

@remi-stripe remi-stripe changed the base branch from master to remi-integration-21.0.0 November 8, 2018 22:31
@remi-stripe remi-stripe merged commit 01ba864 into remi-integration-21.0.0 Nov 8, 2018
@remi-stripe remi-stripe deleted the remi-plan-add-flat-amount branch November 8, 2018 22:32
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