| Modifier and Type | Method and Description |
|---|---|
Map<OrderItem,PromotableOrderItem> |
OfferServiceUtilities.buildPromotableItemMap(PromotableOrder promotableOrder)
Builds a map from orderItem to promotableOrderItem.
|
Map<OrderItem,PromotableOrderItem> |
OfferServiceUtilitiesImpl.buildPromotableItemMap(PromotableOrder promotableOrder) |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
AbstractOfferServiceExtensionHandler.calculatePotentialSavings(PromotableCandidateItemOffer itemOffer,
PromotableOrderItem item,
int quantity,
Map<String,Object> contextMap) |
ExtensionResultStatusType |
OfferServiceExtensionHandler.calculatePotentialSavings(PromotableCandidateItemOffer itemOffer,
PromotableOrderItem item,
int quantity,
Map<String,Object> contextMap)
Modules may extend the calculatePotentialSavings method.
|
ExtensionResultStatusType |
AbstractOfferServiceExtensionHandler.resetPriceDetails(PromotableOrderItem item) |
ExtensionResultStatusType |
OfferServiceExtensionHandler.resetPriceDetails(PromotableOrderItem item)
Modules may need to clear additional offer details when resetPriceDetails is called.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
CandidatePromotionItems.candidateQualifiersMap |
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
CandidatePromotionItems.candidateTargetsMap |
| Modifier and Type | Method and Description |
|---|---|
Set<PromotableOrderItem> |
CandidatePromotionItems.getAllCandidateTargets() |
HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
CandidatePromotionItems.getCandidateQualifiersMap() |
HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
CandidatePromotionItems.getCandidateTargetsMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
CandidatePromotionItems.addQualifier(OfferItemCriteria criteria,
PromotableOrderItem item) |
void |
CandidatePromotionItems.addTarget(OfferItemCriteria criteria,
PromotableOrderItem item) |
int |
OrderItemPriceComparator.compare(PromotableOrderItem c1,
PromotableOrderItem c2) |
| Modifier and Type | Class and Description |
|---|---|
class |
PromotableOrderItemImpl |
| Modifier and Type | Field and Description |
|---|---|
protected PromotableOrderItem |
PromotableOrderItemPriceDetailImpl.promotableOrderItem |
| Modifier and Type | Field and Description |
|---|---|
protected List<PromotableOrderItem> |
PromotableOrderImpl.allOrderItems |
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
PromotableCandidateItemOfferImpl.candidateQualifiersMap |
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
PromotableCandidateFulfillmentGroupOfferImpl.candidateQualifiersMap |
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
PromotableCandidateOrderOfferImpl.candidateQualifiersMap |
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> |
PromotableCandidateItemOfferImpl.candidateTargetsMap |
protected List<PromotableOrderItem> |
PromotableFulfillmentGroupImpl.discountableOrderItems |
protected List<PromotableOrderItem> |
PromotableOrderImpl.discountableOrderItems |
protected List<PromotableOrderItem> |
PromotableCandidateItemOfferImpl.legacyCandidateTargets |
| Modifier and Type | Method and Description |
|---|---|
PromotableOrderItem |
PromotableItemFactory.createPromotableOrderItem(OrderItem orderItem,
PromotableOrder order,
boolean includeAdjustments) |
PromotableOrderItem |
PromotableItemFactoryImpl.createPromotableOrderItem(OrderItem orderItem,
PromotableOrder order,
boolean includeAdjustments) |
PromotableOrderItem |
PromotableOrderItemPriceDetailImpl.getPromotableOrderItem() |
PromotableOrderItem |
PromotableOrderItemPriceDetailWrapper.getPromotableOrderItem() |
PromotableOrderItem |
PromotableOrderItemPriceDetail.getPromotableOrderItem()
Return the parent promotableOrderItem
|
| Modifier and Type | Method and Description |
|---|---|
Money |
PromotableCandidateItemOffer.calculateSavingsForOrderItem(PromotableOrderItem orderItem,
int qtyToReceiveSavings)
Public only for unit testing - not intended to be called
|
Money |
PromotableCandidateItemOfferImpl.calculateSavingsForOrderItem(PromotableOrderItem orderItem,
int qtyToReceiveSavings) |
PromotableOrderItemPriceDetail |
PromotableItemFactory.createPromotableOrderItemPriceDetail(PromotableOrderItem promotableOrderItem,
int quantity) |
PromotableOrderItemPriceDetail |
PromotableItemFactoryImpl.createPromotableOrderItemPriceDetail(PromotableOrderItem promotableOrderItem,
int quantity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PromotableOrderImpl.addPromotableOrderItem(OrderItem orderItem,
List<PromotableOrderItem> discountableOrderItems) |
void |
PromotableCandidateItemOffer.setCandidateQualifiersMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap) |
void |
PromotableCandidateItemOfferImpl.setCandidateQualifiersMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap) |
void |
PromotableCandidateFulfillmentGroupOfferImpl.setCandidateQualifiersMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap) |
void |
PromotableCandidateFulfillmentGroupOffer.setCandidateQualifiersMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap) |
void |
PromotableCandidateItemOffer.setCandidateTargetsMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap) |
void |
PromotableCandidateItemOfferImpl.setCandidateTargetsMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap) |
void |
PromotableCandidateItemOffer.setLegacyCandidateTargets(List<PromotableOrderItem> candidateTargets) |
void |
PromotableCandidateItemOfferImpl.setLegacyCandidateTargets(List<PromotableOrderItem> candidateTargets) |
| Constructor and Description |
|---|
PromotableOrderItemPriceDetailImpl(PromotableOrderItem promotableOrderItem,
int quantity) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,PromotableOrderItemPriceDetail> |
OrderOfferProcessorImpl.buildPromotableDetailsMap(PromotableOrderItem item) |
protected Map<Long,PromotionQualifier> |
OrderOfferProcessorImpl.buildPromotableQualifiersMap(PromotableOrderItem item) |
protected Money |
ItemOfferProcessorImpl.calculatePotentialSavingsForOrderItem(PromotableCandidateItemOffer itemOffer,
PromotableOrderItem item,
int quantity)
Provide an opportunity to for modules to override the potentialSavingsCalculation
|
protected boolean |
OrderOfferProcessorImpl.couldOfferApplyToOrder(Offer offer,
PromotableOrder promotableOrder,
PromotableOrderItem orderItem)
Private method which executes the appliesToOrderRules in the Offer to determine if this offer
can be applied to the Order, OrderItem, or FulfillmentGroup.
|
protected boolean |
OrderOfferProcessorImpl.couldOfferApplyToOrder(Offer offer,
PromotableOrder promotableOrder,
PromotableOrderItem promotableOrderItem,
PromotableFulfillmentGroup promotableFulfillmentGroup)
Private method which executes the appliesToOrderRules in the Offer to determine if this offer
can be applied to the Order, OrderItem, or FulfillmentGroup.
|
protected boolean |
AbstractBaseProcessor.couldOrderItemMeetOfferRequirement(OfferItemCriteria criteria,
PromotableOrderItem orderItem) |
protected void |
ItemOfferProcessorImpl.restPriceDetails(PromotableOrderItem item) |
protected void |
OrderOfferProcessorImpl.synchronizeItemPriceDetails(OrderItem orderItem,
PromotableOrderItem promotableOrderItem) |
protected void |
OrderOfferProcessorImpl.synchronizeItemQualifiers(OrderItem orderItem,
PromotableOrderItem promotableOrderItem) |
| Modifier and Type | Method and Description |
|---|---|
protected List<PromotableOrderItemPriceDetail> |
ItemOfferProcessorImpl.buildPriceDetailListFromOrderItems(List<PromotableOrderItem> items) |
protected void |
AbstractBaseProcessor.checkForItemRequirements(Offer offer,
CandidatePromotionItems candidates,
OfferItemCriteria criteria,
List<PromotableOrderItem> promotableOrderItems,
boolean isQualifier) |
protected CandidatePromotionItems |
AbstractBaseProcessor.couldOfferApplyToOrderItems(Offer offer,
List<PromotableOrderItem> promotableOrderItems) |
| Modifier and Type | Field and Description |
|---|---|
protected List<PromotableOrderItem> |
OrderItemSplitContainer.splitItems |
| Modifier and Type | Method and Description |
|---|---|
List<PromotableOrderItem> |
OrderItemSplitContainer.getSplitItems() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderItemSplitContainer.setSplitItems(List<PromotableOrderItem> splitItems) |
Copyright © 2015. All Rights Reserved.