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:
What problem does your feature request address?
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 inResultBase
this possible:it would be great if we could add this method.
Alternatives considered
Currently, we access the list of subscriptions via parsing the JSONObject:
Additional context
The
subscriptions
field is mentioned in the documentation forcustomer_deleted
event hereThe text was updated successfully, but these errors were encountered: