Package org.bhn.promotion.voucherify.model
package org.bhn.promotion.voucherify.model
Provides voucherify data model classes which is used to store data
-
ClassesClassDescriptionRepresents the request body for Voucherify qualification eligibility checks, including customer, order, scenario, and filtering/sorting options.Represents the response body for Voucherify eligibility qualification checks, including redeemables, discount results, applicable/inapplicable items, and detailed order-level calculation data.Represents a request for checking eligibility in a promotion context.Represents a request for validating promotions or vouchers.Represents the request body for redeeming promotions or vouchers, including redeemables, order, customer, session, and optional expansion settings.Represents the response returned after redeeming promotions or vouchers, including redemption results, order details, applied discounts, skipped or inapplicable redeemables, and related redemption metadata.This class encapsulates the request data needed to process a redemption.Request body used to create a rollback for a redemption, including reason, customer, order, and optional metadata.Response returned after rolling back a redemption.Request body used to validate redeemables against order, customer, and session data before applying promotions.Response body returned after validating redeemables against an order.Represents a request received from a webhook.Represents the model for a webhook payload related to a campaign, promotion tier, voucher, rule, and assignment in the promotion systemThis class contains the common fields that are shared across these entities:Represents a response after executing Voucherify Webhook flow.