voucherifyio / voucherify-java-sdk

Java SDK for Voucherify - coupons, vouchers, promo codes
www.voucherify.io
MIT License
23 stars 12 forks source link

PublishVoucherResponse contains all null fields however the voucher is created on Voucherify successfully #50

Closed asadyarkhan007 closed 6 years ago

asadyarkhan007 commented 6 years ago
 PublishVoucher publishVoucher = PublishVoucher.builder().campaign(referralCampaignName).customer(customer).build();
        return voucherify.distributions().publish(publishVoucher);

When I execute the above code the Referral Campaign voucher is created but the response object PublishVoucherResponse is empty object means it contains all fields as null.

asadyarkhan007 commented 6 years ago

Hi, I am block, Kindly fix this issue.

lkulig commented 6 years ago

hey @asadyarkhan007, PR (#51) with appropriate changes is ready, new version will be released today

lkulig commented 6 years ago

@asadyarkhan007 new version (6.0.0) was released just now, please check out (Migration guide)[https://github.com/voucherifyio/voucherify-java-sdk#migration-to-60] and if downloading new version fails for you please ensure that you have OSS Sonatype added in your repositories config

tpindel commented 6 years ago

Hi @asadyarkhan007, could you verify delivered fix and close this issue in case it is solved? Thanks

asadyarkhan007 commented 6 years ago

Thanks.