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