Package com.broadleafcommerce.promotion.offer.domain
package com.broadleafcommerce.promotion.offer.domain
-
ClassDescriptionThis class allows for reuse of active date logic within the offer service.Many entities have customizable dynamic attributes, and this class is intended to hold such values.Lightweight cacheable structure to simply hold the tracking ids relationship to offerThe main domain that the Broadleaf Campaign service is based around.DTO holding the resulting information about the code generation.Represents a collection of overrides to other combinability and stacking settings.Encapsulates all of the fields relevant to an
offer's discount
.Interface to abstract whether the discount and amount come from a Discount or DiscountTierRepresents a tier and amount combination for an offer's discount.Encapsulates all criteria used either to determine if an item is a qualifier or a target.Encapsulates a single rule the forms a part of anItemCriteria
.A MarketingMessage encapsulates information necessary for displaying a marketing message related to anOffer
next to items affected by the offer in different contexts.A DTO used to make requests to theMarketingMessageResolver
, which findsMarketingMessages
.MarketingMessageResponse<P extends MarketingMessage>A DTO to return a list ofMarketingMessages
.A DTO to return a list ofMarketingMessages
.An Offer encapsulates information required to provide specialized discount pricing for orders, order items, or related entities This includes not just the discount amount but also important factors such as whether the discount is a percent off, amount off, or fixed price type and whether it should be applied immediately or provided as future credit to the user.Captures audit relevant data when an offer was applied to an order.Summary of relevant audit data for an offer.Summary of relevant audit data for a shared code.Encapsulates all of the fields relevant to anoffer's subscription compatibility
.Abstraction of a user that offers can target.A request DTO for generating voucher codes.