voucherifyio / voucherify-java-sdk

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

voucher rules does not return from java SDK #63

Closed asadyarkhan007 closed 6 years ago

asadyarkhan007 commented 6 years ago

Hi, We are your paid customers, We are working on an application where we need to get the voucher's rules(metadata) against voucher code. It's perfectly return on getting the voucher code from RESTAPI mentioned below: https://api.voucherify.io/v1/vouchers/code

However we have integrated your Java SDK as we found it easy for other stuff but now we are stuck when we try to get the voucher detail it does not return voucher rules.

Following is the response hierarchy that does return in rest API call.

"validation_rules": { redemptions:{ "metadata": { "RULE1": { } } } }

We need all the defined rules using this Java SDK. we are using voucherify-java-sdk:6.0.4

lkulig commented 6 years ago

Hey @asadyarkhan007 new version was released recently, it might take a while for new version to be available in maven repositories. After verifying and if everything works please close the issue.

asadyarkhan007 commented 6 years ago

ok I will do after verifying as still in maven repo 6.0.4 is showing.

asadyarkhan007 commented 6 years ago

Thanks its done in 6.0.5