Class FulfillmentOptionBand
- java.lang.Object
-
- com.broadleafcommerce.shipping.banded.FulfillmentOptionBand
-
- All Implemented Interfaces:
Serializable
@Deprecated public class FulfillmentOptionBand extends Object implements Serializable
Deprecated.Since 1.7.0. Moved to shipping service.A band represents a tier of pricing for a specificBandedFulfillmentPricingOption. The band for aFulfillmentPricingRequestis chosen based on theminimum amountdefined for the band and theband typedefined for the option.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FulfillmentOptionBand()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<FulfillmentPriceAmount>getFixedPricePerGroup()Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest.Set<FulfillmentPriceAmount>getFixedPricePerItem()Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItemin a group.BigDecimalgetMinimum()Deprecated.The minimum amount required for the correspondingband typethat determines if this band should apply.BigDecimalgetPercentagePerItem()Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()() FulfillmentItem's total}.voidsetFixedPricePerGroup(Set<FulfillmentPriceAmount> fixedPricePerGroup)Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest.voidsetFixedPricePerItem(Set<FulfillmentPriceAmount> fixedPricePerItem)Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItemin a group.voidsetMinimum(BigDecimal minimum)Deprecated.The minimum amount required for the correspondingband typethat determines if this band should apply.voidsetPercentagePerItem(BigDecimal percentagePerItem)Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()() FulfillmentItem's total}.
-
-
-
Method Detail
-
getMinimum
public BigDecimal getMinimum()
Deprecated.The minimum amount required for the correspondingband typethat determines if this band should apply.- Returns:
- The minimum amount for the type specified in the owning
BandedFulfillmentPricingOption.getBandType().
-
getPercentagePerItem
public BigDecimal getPercentagePerItem()
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()() FulfillmentItem's total}.- Returns:
- Percentage to multiply against a
FulfillmentItem's total.
-
getFixedPricePerItem
public Set<FulfillmentPriceAmount> getFixedPricePerItem()
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItemin a group.- Returns:
- Fixed prices (by currency) to add per
FulfillmentPricingItemin a group.
-
getFixedPricePerGroup
public Set<FulfillmentPriceAmount> getFixedPricePerGroup()
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest.- Returns:
- Fixed prices (by currency) to add per
FulfillmentPricingRequest.
-
setMinimum
public void setMinimum(BigDecimal minimum)
Deprecated.The minimum amount required for the correspondingband typethat determines if this band should apply.- Parameters:
minimum- The minimum amount for the type specified in the owningBandedFulfillmentPricingOption.getBandType().
-
setPercentagePerItem
public void setPercentagePerItem(BigDecimal percentagePerItem)
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()() FulfillmentItem's total}.- Parameters:
percentagePerItem- Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()() FulfillmentItem's total}.
-
setFixedPricePerItem
public void setFixedPricePerItem(Set<FulfillmentPriceAmount> fixedPricePerItem)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItemin a group.- Parameters:
fixedPricePerItem- Fixed prices (by currency) to add perFulfillmentPricingItemin a group.
-
setFixedPricePerGroup
public void setFixedPricePerGroup(Set<FulfillmentPriceAmount> fixedPricePerGroup)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest.- Parameters:
fixedPricePerGroup- Fixed prices (by currency) to add perFulfillmentPricingRequest.
-
-