klarna/kco_rest_dotnet

Discrepancy between SDK models and API models

JustinAren opened this issue · 2 comments

Hi team,

There seems to be a discrepancy between the SDK models and the API models. I found several models in the SDK where some fields are not available which are available in the API.

For example:

I may be missing some more examples. Could you please look into this?

Many thanks in advance.

Hi @JustinAren

Thanks for pointing this out. Yes, we know about this issue and currently we are working on migrating to the auto-generated models architecture. Such models will simplify a process of adding new fields and updating the models.

We already migrated the Klarna Payment and Order management APIs.

These changes are still not released, but we plan to release them in a short time.

Best wishes!

All the changes are available in the latest v3.1.10 release:
https://www.nuget.org/packages/Klarna.Rest.Core/3.1.10

The SDK Ref can be found here: https://klarna.github.io/kco_rest_dotnet/v3.1.10/api/index.html