Class EligibilityRequestDto

java.lang.Object
org.bhn.promotion.voucherify.model.EligibilityRequestDto

public class EligibilityRequestDto extends Object
Represents a request for checking eligibility in a promotion context.

This class encapsulates the necessary details for creating an eligibility request, including the currency being used and the specific request body containing the eligibility criteria.

  • Constructor Details

    • EligibilityRequestDto

      public EligibilityRequestDto(@NotBlank(message="Input billing currency can not be blank") @NotBlank(message="Input billing currency can not be blank") String currency, CheckPromotionEligibilityRequestDto eligibilityRequest)