-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
-
client.qualifications().checkEligibility() accepts an option to expand redeemables, but the expanded values do not appear to be available in CheckEligibilityResponse.getRedeemable().getData().
private static final Option EXPAND_REDEEMABLES_OPTION = Option.builder().expand(List.of(Expand.REDEEMABLE)).build(); ... Customer customer = toVoucherifyCustomer(company); CheckEligibility check = CheckEligibility .builder() .customer(customer) .scenario(Scenario.AUDIENCE_ONLY) .option(EXPAND_REDEEMABLES_OPTION) .build(); CheckEligibilityResponse eligibility = client.qualifications().checkEligibility(check);
RedeemableDataResponse does not have a getName or getBanner ... even though these values are returned in the underlying API call.
- client.stackables().validate does not appear to expose the applied_discount_amount property in the OrderResponse class, even though the value is present in the underlying API call to /v1/validations. The equivalent OrderItemResponse.getAppliedDiscountAmount() is there, but OrderResponse just has getDiscountAmount() and no getAppliedDiscountAmount().
Metadata
Metadata
Assignees
Labels
No labels