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
The const OBJECT_TYPE_GET is always CardCredit. So this is why all card are being mapped correctly. Since this is in generated code. I can't create a PR to fix it.
The wrapper should be dynamic instead of hardcoded. Or the "Card" class should be made so that it can handle both Credit And Debit Cards. For the put endpoit you do have 2 different entities
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
Import all Cards (Debit & Credit cards)
It will only return Debit Cards
Use the endpoint to edit a Credit Card
It will not return data
What should happen:
What happens:
Traceback
In the function
bunq\Model\Generated\Endpoint\Card::listing
And in the function
bunq\Model\Generated\Endpoint\Card::get
The const
OBJECT_TYPE_GET
is always CardCredit. So this is why all card are being mapped correctly. Since this is in generated code. I can't create a PR to fix it.SDK version and environment
Response id
Extra info:
The wrapper should be dynamic instead of hardcoded. Or the "Card" class should be made so that it can handle both Credit And Debit Cards. For the put endpoit you do have 2 different entities
The text was updated successfully, but these errors were encountered: