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 aFulfillmentPricingRequest
is chosen based on theminimum amount
defined for the band and theband type
defined 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 perFulfillmentPricingItem
in a group.BigDecimal
getMinimum()
Deprecated.The minimum amount required for the correspondingband type
that determines if this band should apply.BigDecimal
getPercentagePerItem()
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.void
setFixedPricePerGroup(Set<FulfillmentPriceAmount> fixedPricePerGroup)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest
.void
setFixedPricePerItem(Set<FulfillmentPriceAmount> fixedPricePerItem)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItem
in a group.void
setMinimum(BigDecimal minimum)
Deprecated.The minimum amount required for the correspondingband type
that determines if this band should apply.void
setPercentagePerItem(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 type
that 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 perFulfillmentPricingItem
in a group.- Returns:
- Fixed prices (by currency) to add per
FulfillmentPricingItem
in 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 type
that 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 perFulfillmentPricingItem
in a group.- Parameters:
fixedPricePerItem
- Fixed prices (by currency) to add perFulfillmentPricingItem
in 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
.
-
-