You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am have service based on Spring boot and I am using Stripe library version 24.13.0.
I am trying to add Discounts to the Subscription while trying to create a subscription. The library doesn't seem to support this feature to add the Discount to the SubscriptionCreateParams although it is mentioned as an example in documents.
Documentation:
Fields in the SubscriptionCreateParams:
Describe the solution you'd like
I would like to have this ability to add Discount to the SubscriptionCreateParams as mentioned in the documentation.
Describe alternatives you've considered
One of the alternative that we have is to create a Map for this and populate all the values there. I would like to avoid as its not easily type checked and more prone to errors.
Additional context
I am open to contribute towards this feature. The feature request is quite essential for our recent service changes as we are trying to move discounts towards Stripe.
The text was updated successfully, but these errors were encountered:
@pranaytripathi You are likely on an old version of stripe-java at the moment. You can see in the code right here that the addDiscount() method has been added already. Looking at the changelog, it was added in 24.23.0.
Is your feature request related to a problem? Please describe.
I am have service based on Spring boot and I am using Stripe library version 24.13.0.
I am trying to add Discounts to the Subscription while trying to create a subscription. The library doesn't seem to support this feature to add the Discount to the
SubscriptionCreateParams
although it is mentioned as an example in documents.Documentation:
Fields in the
SubscriptionCreateParams
:Describe the solution you'd like
I would like to have this ability to add Discount to the
SubscriptionCreateParams
as mentioned in the documentation.Describe alternatives you've considered
One of the alternative that we have is to create a Map for this and populate all the values there. I would like to avoid as its not easily type checked and more prone to errors.
Additional context
I am open to contribute towards this feature. The feature request is quite essential for our recent service changes as we are trying to move discounts towards Stripe.
The text was updated successfully, but these errors were encountered: