Interface CandidateOfferUtility
- All Known Implementing Classes:
DefaultCandidateOfferUtility
public interface CandidateOfferUtility
Utility for creating each of the different CandidateXOffer types:
CandidateOrderOffer
,
CandidateItemOffer
, CandidateFulfillmentGroupOffer
.- Author:
- Chad Harchar (charchar)
-
Method Summary
Modifier and TypeMethodDescriptioncreateCandidateFulfillmentGroupOffer
(EnhancedOrder order, Offer offer) Creates aCandidateFulfillmentGroupOffer
for the given order and offer.createCandidateFulfillmentItemOffer
(EnhancedOrder order, Offer offer) Creates aCandidateItemOffer
for the given order and offer.createCandidateOrderItemOffer
(EnhancedOrder order, Offer offer) Creates aCandidateItemOffer
for the given order and offer.createCandidateOrderOffer
(EnhancedOrder order, Offer offer) Creates aCandidateOrderOffer
for the given order and offer.
-
Method Details
-
createCandidateOrderOffer
Creates aCandidateOrderOffer
for the given order and offer.- Parameters:
order
- the order to be used when building theCandidateOrderOffer
offer
- the offer to be used when building theCandidateOrderOffer
- Returns:
- the created
CandidateOrderOffer
based on the provided order and offer
-
createCandidateOrderItemOffer
Creates aCandidateItemOffer
for the given order and offer.- Parameters:
order
- the order to be used when building theCandidateItemOffer
offer
- the offer to be used when building theCandidateItemOffer
- Returns:
- the created
CandidateItemOffer
based on the provided order and offer
-
createCandidateFulfillmentGroupOffer
CandidateFulfillmentGroupOffer createCandidateFulfillmentGroupOffer(EnhancedOrder order, Offer offer) Creates aCandidateFulfillmentGroupOffer
for the given order and offer.- Parameters:
order
- the order to be used when building theCandidateFulfillmentGroupOffer
offer
- the offer to be used when building theCandidateFulfillmentGroupOffer
- Returns:
- the created
CandidateFulfillmentGroupOffer
based on the provided order and offer
-
createCandidateFulfillmentItemOffer
Creates aCandidateItemOffer
for the given order and offer.- Parameters:
order
- the order to be used when building theCandidateItemOffer
offer
- the offer to be used when building theCandidateItemOffer
- Returns:
- the created
CandidateItemOffer
based on the provided order and offer
-