MetaData is not available on subscription
dampee opened this issue · comments
Damiaan commented
There is no way to access the meta data stored on a subscription after you do a
var subscription = ChargeBee.Models.Subscription.Retrieve(subscriptionId).Request();
Could this be added?
Kind regards
cb-khushbubibay commented
Hi @dampee
We added MetaData field in v1.6.0.
you can access metadata with GetJToken function as below.
FOR PCv1:
subscription.GetJToken("meta_data");
OR
subscription.MetaData
FOR PCv2:
subscription.GetJToken("metadata");
OR
subscription.Metadata
Please reopen if you are not able to access it in this way or have other questions.