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 CollectionMethod for Invoices and Subscriptions #1679

Merged
merged 1 commit into from Jul 2, 2019

Conversation

cjavilla-stripe
Copy link
Contributor

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

Copy link
Contributor

@remi-stripe remi-stripe left a comment

Choose a reason for hiding this comment

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

Left some comments on things to change. Don't action on the enum one until @ob-stripe has shared his opinion

src/Stripe.net/Entities/Invoices/Invoice.cs Show resolved Hide resolved
src/Stripe.net/Enums/Billing.cs Outdated Show resolved Hide resolved
@cjavilla-stripe
Copy link
Contributor Author

r? @remi-stripe

@cjavilla-stripe
Copy link
Contributor Author

r? @remi-stripe

@cjavilla-stripe
Copy link
Contributor Author

r? @remi-stripe

@remi-stripe
Copy link
Contributor

Changes lgtm. Assigning to @ob-stripe for approval.

@cjavilla-stripe
Copy link
Contributor Author

r? @remi-stripe

@cjavilla-stripe
Copy link
Contributor Author

@ob-stripe added CollectionMethod to update invoice params.

@cjavilla-stripe cjavilla-stripe force-pushed the cjavilla/add-collection-method branch 2 times, most recently from 7f04cfb to 296a1c3 Compare July 2, 2019 16:03
@cjavilla-stripe
Copy link
Contributor Author

r? @ob-stripe

Rebased and tested on latest stripe-mock

@remi-stripe remi-stripe assigned remi-stripe and unassigned ob-stripe Jul 2, 2019
Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

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

One nit, lgtm otherwise.

src/Stripe.net/Enums/Billing.cs Outdated Show resolved Hide resolved
@cjavilla-stripe
Copy link
Contributor Author

r? @ob-stripe

Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

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

LGTM. Can you please squash your commits before merging?

@cjavilla-stripe
Copy link
Contributor Author

Squashed. I was told never to merge these, so I'm reassigning to @remi-stripe :)

/// </summary>
[JsonProperty("collection_method")]
public string CollectionMethod { 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.

Sorry I didn't flag them all originally and wanted you to recheck each one. That one should be before Customer and CustomFields

/// </summary>
[JsonProperty("collection_method")]
public string CollectionMethod { 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 before DefaultSourceId and DefaultPaymentMethodId

@cjavilla-stripe
Copy link
Contributor Author

@remi-stripe sorry, I thought since there were two comments those were the only two. I rechecked them all, I'm not sure if that one should go after the collapsable charge block or not, not sure how those regions work.

Copy link
Contributor

@remi-stripe remi-stripe left a comment

Choose a reason for hiding this comment

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

Thanks for all the fixes. Approving

@remi-stripe remi-stripe merged commit 414a4eb into master Jul 2, 2019
@remi-stripe remi-stripe deleted the cjavilla/add-collection-method branch July 2, 2019 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants