Uses of Class
com.broadleafcommerce.shipping.service.integrations.banded.BandedFulfillmentPricingOption
-
Uses of BandedFulfillmentPricingOption in com.broadleafcommerce.shipping.service.integrations.banded
Modifier and TypeMethodDescriptionprotected BandedFulfillmentPricingOption
BandedFulfillmentPricingProvider.getDefaultBandedFulfillmentPricingOption()
Builds aBandedFulfillmentPricingOption
with fields initialized to typical values.Modifier and TypeMethodDescriptionBandedFulfillmentPricingConfig.getShipTables()
Deprecated, for removal: This API element is subject to removal in a future version.List of banded pricing fulfillment options that can be chosen.BandedFulfillmentPricingProperties.getShipTables
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected List<BandedFulfillmentPricingOption>
BandedFulfillmentPricingProvider.getShipTables
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets a list ofBandedFulfillmentPricingOptions
based on the givenContextInfo
.Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
BandedFulfillmentPricingProvider.buildFulfillmentOptionPricedResponse
(@NonNull javax.money.MonetaryAmount price, @NonNull Map<com.broadleafcommerce.shipping.domain.FulfillmentPricingItem, javax.money.MonetaryAmount> itemToPriceMap, @NonNull BandedFulfillmentPricingOption fulfillmentOption, boolean isEstimate) Builds aFulfillmentOptionPricedResponse
with the given inputs.protected Map<com.broadleafcommerce.shipping.domain.FulfillmentPricingItem,
javax.money.MonetaryAmount> BandedFulfillmentPricingProvider.buildItemToPriceMap
(@NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest request, @NonNull BandedFulfillmentPricingOption option, @NonNull FulfillmentOptionBand band) Builds a map ofFulfillmentPricingItems
to the calculated prices.protected javax.money.MonetaryAmount
BandedFulfillmentPricingProvider.calculateFixedPriceForItem
(@NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingItem item, @NonNull BandedFulfillmentPricingOption option, @NonNull FulfillmentOptionBand band, @NonNull javax.money.CurrencyUnit currency) protected javax.money.MonetaryAmount
BandedFulfillmentPricingProvider.calculatePriceForItem
(@NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingItem item, @NonNull BandedFulfillmentPricingOption option, @NonNull FulfillmentOptionBand band, @NonNull javax.money.CurrencyUnit currency) Deprecated.protected javax.money.MonetaryAmount
BandedFulfillmentPricingProvider.calculatePriceForItems
(@NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingItem item, @NonNull BandedFulfillmentPricingOption option, @NonNull FulfillmentOptionBand band, @NonNull javax.money.CurrencyUnit currency) Calculates the price for a fulfillment items.protected final Optional<FulfillmentOptionBand>
BandedFulfillmentPricingProvider.findBand
(@NonNull BandedFulfillmentPricingOption option, @NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest request) Finds the correctFulfillmentOptionBand
from theBandedFulfillmentPricingOption
for the givenFulfillmentPricingRequest
.protected Optional<FulfillmentOptionBand>
BandedFulfillmentPricingProvider.findCustomBand
(@NonNull BandedFulfillmentPricingOption option, @NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest request) Extension point to handleBandTypes
not inDefaultBandTypes
.protected Optional<FulfillmentOptionBand>
BandedFulfillmentPricingProvider.findPriceBand
(@NonNull BandedFulfillmentPricingOption option, @NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest request) Finds the correctprice-based
band
from theBandedFulfillmentPricingOption
for the givenFulfillmentPricingRequest
.protected Optional<FulfillmentOptionBand>
BandedFulfillmentPricingProvider.findWeightBand
(@NonNull BandedFulfillmentPricingOption option, @NonNull com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest request) Finds the correctitem-weight-based
band
from theBandedFulfillmentPricingOption
for the givenFulfillmentPricingRequest
.Modifier and TypeMethodDescriptionvoid
BandedFulfillmentPricingConfig.setShipTables
(List<BandedFulfillmentPricingOption> shipTables) Deprecated, for removal: This API element is subject to removal in a future version.List of banded pricing fulfillment options that can be chosen.void
BandedFulfillmentPricingProperties.setShipTables
(List<BandedFulfillmentPricingOption> shipTables) List of banded pricing fulfillment options that can be chosen.
BandedFulfillmentPricingProvider.calculatePriceForItems(FulfillmentPricingItem, BandedFulfillmentPricingOption, FulfillmentOptionBand, CurrencyUnit)