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
I don't see a way to query this information via the SDK.
I got to a point where I could make a query against this endpoint with ChargeBee.Api.ApiUtil.GetAsync: var result = await ChargeBee.Api.ApiUtil.GetAsync("/configurations", new Params(), new Dictionary<string, string>(), ChargeBee.Api.ApiConfig.Instance);
But as the result object is an EntityResult that doesn't contain the configuration property, I couldn't use this. While debugging, i could see that this class has a private m_jobj field and it contains the information I would need, but as the field is private, I cannot access it from our code.
Describe the desired solution
A desired solution would be to be able to query this information with the SDK.
Alternatives considered
An alternative would be to change the GetAsync function with a generic type parameter so we can specify the result type we are interested in.
Additional context
No response
The text was updated successfully, but these errors were encountered:
What problem does your feature request address?
We are in the middle of migrating from Product Catalog V1 to V2.
The documentation says that for a seamless migration we can use the V1 and V2 endpoints conditionally whether we are on V1 or V2 at a moment:
https://docs.google.com/document/d/1fBWdStVjk8BW_FuBmnYfYfm6vuMgKqQafrmm1jxmUoo/edit?pli=1&tab=t.0
I don't see a way to query this information via the SDK.
I got to a point where I could make a query against this endpoint with ChargeBee.Api.ApiUtil.GetAsync:
var result = await ChargeBee.Api.ApiUtil.GetAsync("/configurations", new Params(), new Dictionary<string, string>(), ChargeBee.Api.ApiConfig.Instance);
But as the result object is an EntityResult that doesn't contain the configuration property, I couldn't use this. While debugging, i could see that this class has a private m_jobj field and it contains the information I would need, but as the field is private, I cannot access it from our code.
Describe the desired solution
A desired solution would be to be able to query this information with the SDK.
Alternatives considered
An alternative would be to change the GetAsync function with a generic type parameter so we can specify the result type we are interested in.
Additional context
No response
The text was updated successfully, but these errors were encountered: