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 current_period_* filters when listing Invoices #1547

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

remi-stripe
Copy link
Contributor

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

Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

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

Minor comment, but otherwise LGTM.

ptal @remi-stripe

/// A filter on the list based on the object current_period_end field.
/// </summary>
[JsonProperty("current_period_end")]
public DateRangeOptions CurrentPeriodEndRange{ 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.

Quite minor, but this could use another space between Range and the opening curly brace.

/// A filter on the list based on the object current_period_end field.
/// </summary>
[JsonProperty("current_period_start")]
public DateRangeOptions CurrentPeriodStartRange{ 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.

And also missing space here similar to the above.

public DateRangeOptions CurrentPeriodEndRange{ get; set; }

/// <summary>
/// A filter on the list based on the object current_period_end field.
Copy link
Contributor

Choose a reason for hiding this comment

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

Oops, and actually one more: this comment and the one below it read current_period_end when they should read current_period_start.

@remi-stripe remi-stripe force-pushed the remi-add-subscription-filters branch from 97af68f to 9e55bb2 Compare March 6, 2019 00:52
@remi-stripe
Copy link
Contributor Author

@brandur-stripe damn really sorry to have had 3 issues in such a small PR :(. Fixed, PTAL

@remi-stripe remi-stripe force-pushed the remi-add-subscription-filters branch from 9e55bb2 to 3d18eae Compare March 6, 2019 00:54
@remi-stripe remi-stripe force-pushed the remi-add-subscription-filters branch from 3d18eae to 6a824f5 Compare March 6, 2019 00:59
@brandur-stripe
Copy link
Contributor

Hah, no worries! And actually, just looking at AppVeyor, one more:

Services\Subscriptions\SubscriptionListOptions.cs(17,16): error CS0246: The type or namespace name 'DateTime' could not be found (are you missing a using directive or an assembly reference?) [C:\projects\stripe-

You're probably just missing a using for DateTime.

@remi-stripe
Copy link
Contributor Author

Yeah, for some reason my amend never made it to the 3 push I tried. But fixed it now, sorry for the chunder.

@brandur-stripe
Copy link
Contributor

LGTM.

@remi-stripe remi-stripe merged commit a0bd5c3 into master Mar 6, 2019
@remi-stripe remi-stripe deleted the remi-add-subscription-filters branch March 6, 2019 01:10
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