Package org.bhn.promotion.core.model.promotions
package org.bhn.promotion.core.model.promotions
Provides data model classes which is used to store data for promotion constructs
-
ClassesClassDescriptionRepresents a model that can be applied to a list of items.Represents an item on which a promotion has been applied.This model contains information about the promotion, its application status, the items to which it was applied, those it was not applied to, and any errors encountered during the application process.Represents the discount details applied to a promotion.Represents the response model for checking eligibility in promotions.Stores the error details as part of Promotion sdk responseRepresents the response model for evaluating promotions or vouchers.Represents a GraphQL request containing a query and associated variables.Represents a response from a GraphQL query containing order data.Represents an item in a promotional context.(DTO) for representing an order and its associated details.(DTO) for representing individual order items in an order.Represents a model for a product associated with a promotion.The
RedemptionModelis used to encapsulate the details of a single redemption operation for a given promotion.This model is used to encapsulate the response data returned after a redemption operation, such as redeeming a voucher or applying a promotion.DTO representing the details of a rollback operation, including redemption IDs, business flow, and status.Wrapper class for RollbackDTO messages.Represents the model for a rollback operation during a redemption process.TheRollbackResponseModelclass encapsulates the result of a rollback operation, which may involve undoing the effects of a promotion, voucher redemption, or discount application.