Closed heshamMassoud closed 7 years ago
@lauraluiz It appears that the problem was that the Payment Module was using a version of the SDK that is earlier that 1.7 (which introduced the draft builders code generation). Maybe it should be mentioned in the release notes that it's a breaking change :)
cc @ahalberkamp @andrii-kovalenko-ct
Mentioned in the Release Notes that this can be a breaking change http://commercetools.github.io/commercetools-jvm-sdk/apidocs/io/sphere/sdk/meta/ReleaseNotes.html
The problem was simply that the method is now returning a covariant of the previous type (PaymentDraftDsl --|> PaymentDraft), which is apparently harmless but on bytecode level the method signature changes.
Hi,
When using jvm sdk version >= 1.7.0 with Payone Integration Services, when we create a payment as follows:
we get the following exception:
Seems like there is a problem with how the
PaymentDraftBuilder
is generated (maybe?), especially that the method reference has this weird endingThanks!