voucherifyio / voucherify-dotNET-sdk

.Net SDK for Voucherify - coupons, vouchers, promo codes http://www.voucherify.io
http://www.voucherify.io
MIT License
12 stars 16 forks source link

The /redemptions endpoint now always returns Voucher.Active as null #110

Open stan-swapfiets opened 4 months ago

stan-swapfiets commented 4 months ago

According to an email conversation I had with support:

The 'active' field in the response from the list redemptions endpoint will always return a null value due to performance decisions.

Thus, the Voucher.Active property has to be nullable. With the current implementation, it always throws an exception.