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

A few Billing changes #1758

Merged
merged 1 commit into from
Aug 21, 2019
Merged

A few Billing changes #1758

merged 1 commit into from
Aug 21, 2019

Conversation

remi-stripe
Copy link
Contributor

@remi-stripe remi-stripe commented Aug 21, 2019

Fixes #1757 and other things I found:

A few Billing changes

  • Add Schedule to Subscription
  • Add missing parameters to UpcomingInvoiceOptions and
    UpcomingInvoiceListLineItemsOptions
    • Schedule
    • SubscriptionCancelAt
    • SubscriptionCancelNow
  • Add missing properties and parameters for a SubscriptionSchedule phase:
    • BillingThresholds
    • CollectionMethod
    • DefaultPaymentMethod
    • InvoiceSettings

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

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.

Can you also add the missing parameters to UpcomingInvoiceListLineItemOptions?

@remi-stripe
Copy link
Contributor Author

Fixed, PTAL

@remi-stripe remi-stripe assigned ob-stripe and unassigned remi-stripe Aug 21, 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 comment, LGTM otherwise.

@remi-stripe
Copy link
Contributor Author

Fixed, PTAL.

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

@remi-stripe
Copy link
Contributor Author

Won't merge until stripe-java is ready so that we can triple-check the changes.

* Add `Schedule` to `Subscription`
* Add missing parameters to `UpcomingInvoiceOptions` and
`UpcomingInvoiceListLineItemsOptions`
  * `Schedule`
  * `SubscriptionCancelAt`
  * `SubscriptionCancelNow`
* Add missing properties and parameters for a `SubscriptionSchedule` phase:
  * `BillingThresholds`
  * `CollectionMethod`
  * `DefaultPaymentMethod`
  * `InvoiceSettings`
@remi-stripe remi-stripe merged commit 58e2c67 into master Aug 21, 2019
@remi-stripe remi-stripe deleted the remi-fix-schedules-again branch August 21, 2019 22:42
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.

Missing Schedule (and ScheduleId) in Subscription object
3 participants