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
We realized that some events (for example "Customer deleted") contains subscriptions field (collection of customer subscriptions).
However, the type com.chargebee.models.Event.content() which is the representation of event content does not provide a method to access this field.
Describe the desired solution
The desired solution would be to make subscriptions method available in ResultBase this possible:
Eventevent = // the instance of eventvarsubscriptions = event.content().subscriptions(); // This is not available varsubscription = event.content().subscription(); // This is availabale
it would be great if we could add this method.
Alternatives considered
Currently, we access the list of subscriptions via parsing the JSONObject:
Activity
github-actions commentedon Mar 20, 2024
Hello @alisabzevari, thank you for raising the issue. Your contribution is greatly appreciated and we look forward to addressing it.