Describe the bug
Unable to add custom field in transaction with type key
To Reproduce
I am able to add transaction to payment with the following request body containing "key": "my-transaction-key" but unable to do so using SDK.
com.commercetools.api.models.payment.TransactionDraft class uses com.commercetools.api.models.type.CustomFields class for custom fields instead of com.commercetools.api.models.type.CustomFieldsDraft which does not have getter/setter for key in com.commercetools.api.models.type.TypeReference class.
Expected behavior
SDK should be same as rest api.
Screenshots/Code snippet
Not able to find in repo.
Stack information (please complete the following information):
Describe the bug Unable to add custom field in transaction with type
key
To Reproduce I am able to add transaction to payment with the following request body containing
"key": "my-transaction-key"
but unable to do so using SDK.com.commercetools.api.models.payment.TransactionDraft
class usescom.commercetools.api.models.type.CustomFields
class for custom fields instead ofcom.commercetools.api.models.type.CustomFieldsDraft
which does not have getter/setter forkey
incom.commercetools.api.models.type.TypeReference
class.Expected behavior SDK should be same as rest api.
Screenshots/Code snippet Not able to find in repo.
Stack information (please complete the following information):