Closed phayes closed 3 years ago
Hello, apologies for the late reply. We are working on getting up to speed on pull requests. May I ask if you are still interested in merging this (we are!) that you rebase? Thank you.
Hi @arlyon,
Yes I'll rebase my PRs. It might take a few days for me to get to it!
This is now rebased.
I've rebased again and added additional support for usage record summaries (https://stripe.com/docs/api/usage_records/subscription_item_summary_list)
One significant weird thing is the addition of the OpenPeriod
type. According to the Stripe OpenAPI spec, period start and end dates are both nullable, however this nullability isn't used in most APIs. Nullable start and end dates ARE nullable in the Usage Record Summary API, so we need a new type to represent this.
Any update on getting this merged? AFAIK it should be good to go.
Hey. I'm happy to merge once you run rustfmt–ci is complaining :)
I've run rustfmt, but I saw something puzzling. I'm going to do a little bit more testing here first. I'll post a note here when I'm confident it's good to go.
Hi @arlyon,
This should be good-to-go now. Thanks!
Thanks for the PR!
Adds support for Usage Records as per https://stripe.com/docs/api/usage_records