| Package | Description |
|---|---|
| org.broadleafcommerce.core.offer.domain | |
| org.broadleafcommerce.core.offer.service.discount.domain | |
| org.broadleafcommerce.core.offer.service.type |
| Modifier and Type | Method and Description |
|---|---|
OfferDiscountType |
OfferImpl.getDiscountType() |
OfferDiscountType |
OfferPriceDataImpl.getDiscountType() |
OfferDiscountType |
OfferPriceData.getDiscountType() |
OfferDiscountType |
Offer.getDiscountType() |
| Modifier and Type | Method and Description |
|---|---|
void |
OfferImpl.setDiscountType(OfferDiscountType discountType) |
void |
OfferPriceDataImpl.setDiscountType(OfferDiscountType discountType) |
void |
OfferPriceData.setDiscountType(OfferDiscountType discountType) |
void |
Offer.setDiscountType(OfferDiscountType type) |
| Modifier and Type | Method and Description |
|---|---|
protected Tuple<OfferDiscountType,BigDecimal> |
PromotableOfferUtilityImpl.computeDiscountVariables(PromotableCandidateItemOffer promotableCandidateItemOffer,
PromotableOrderItem promotableOrderItem,
int quantity)
Computes the discount type and unit value for the given PromotableOrderItem.
|
| Modifier and Type | Method and Description |
|---|---|
protected Money |
PromotableOfferUtilityImpl.computeAdjustmentValue(Money currentPriceDetailValue,
BigDecimal offerUnitValue,
BroadleafCurrency currency,
OfferDiscountType discountType,
PromotionRounding rounding) |
| Modifier and Type | Field and Description |
|---|---|
static OfferDiscountType |
OfferDiscountType.AMOUNT_OFF |
static OfferDiscountType |
OfferDiscountType.FIX_PRICE |
static OfferDiscountType |
OfferDiscountType.PERCENT_OFF |
| Modifier and Type | Method and Description |
|---|---|
static OfferDiscountType |
OfferDiscountType.getInstance(String type) |
Copyright © 2021. All rights reserved.