-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Description
Struct PlanInterval exist multiple places which is causing issue when creating the subscription with a inline price plan:
let recurring: stripe::SubscriptionItemPriceDataRecurring = stripe::SubscriptionItemPriceDataRecurring {
interval: stripe::PlanInterval::Month,
interval_count: Some(100),
};
this Gives Error :
interval: stripe::PlanInterval::Month,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum 'stripe::resources::generated::billing::subscription::PlanInterval', found enum 'PlanInterval'
I tried removing the extra struct in file subscriptions.rs and subscription_item.rs and import on top it's working this way.
Let me know if there is better way. (Will submit the PR with this changes)
Metadata
Metadata
Assignees
Labels
No labels