voucherifyio/voucherify-java-sdk

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

asadyarkhan007 opened this issue · 5 comments

 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.

Hi,
I am block, Kindly fix this issue.

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

@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

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

Thanks.