commercetools / commercetools-jvm-sdk

The e-commerce SDK from commercetools running on the Java virtual machine.
https://commercetools.github.io/commercetools-jvm-sdk/apidocs/index.html
Other
62 stars 40 forks source link

Correct annotation of Transaction's getState method #914

Closed sesamzoo closed 8 years ago

sesamzoo commented 8 years ago

According to the SDK the result of Transaction's getState() is nullable, but according to the API documentation it should be nonnullable, because it returns a mandatory field.

https://github.com/sphereio/sphere-jvm-sdk/blob/master/sphere-models/src/main/java/io/sphere/sdk/payments/Transaction.java http://dev.commercetools.com/http-api-projects-payments.html#transaction

schleichardt commented 8 years ago

Thanks, I will have a look.