commercetools / sphere-play-sdk

Java API client and helper classes for building a SPHERE.IO shop on Play 2.2
http://sphere.io
7 stars 6 forks source link

removeDiscountCode should not send expanded references #131

Closed schleichardt closed 9 years ago

schleichardt commented 9 years ago

workaround:

//final Reference<DiscountCode> discountCode;
final Reference<DiscountCode> notExpandedReference = 
Reference.<DiscountCode>create(discountCode.getTypeId(), discountCode.getId());