But the ValidationVoucher object returns a DiscountType.Amount for the Discount object. This is because the enum is missing a value for FIXED. Also the discount effects are missing, see API documentation for possible values: https://docs.voucherify.io/docs/discount-effects
Next to this issue the ValidationVoucher returns the VoucherSubject class in which the price for the product is missing.
The API returns the fixed price value but the VoucherSubject is missing a property for Price.
When validating a voucher with a fixed discount amount for order items the API returns:
But the ValidationVoucher object returns a DiscountType.Amount for the Discount object. This is because the enum is missing a value for FIXED. Also the discount effects are missing, see API documentation for possible values: https://docs.voucherify.io/docs/discount-effects
Next to this issue the ValidationVoucher returns the VoucherSubject class in which the price for the product is missing. The API returns the fixed price value but the VoucherSubject is missing a property for Price.