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 specific BandedFulfillmentPricingOption. The band for a FulfillmentPricingRequest is chosen based on the minimum amount defined for the band and the BandedFulfillmentPricingOption.getBandType() defined for the option.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount>
    Fixed prices (by currency) to add per FulfillmentPricingRequest.
    Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount>
    Fixed prices (by currency) to add per FulfillmentPricingItem in a group.
    The minimum amount required for the corresponding band type that determines if this band should apply.
    Percentage to multiply against a FulfillmentPricingItem.getMerchandiseTotalAmount() () FulfillmentItem's total}.
    void
    setFixedPricePerGroup(Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount> fixedPricePerGroup)
    Fixed prices (by currency) to add per FulfillmentPricingRequest.
    void
    setFixedPricePerItem(Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount> fixedPricePerItem)
    Fixed prices (by currency) to add per FulfillmentPricingItem in a group.
    void
    The minimum amount required for the corresponding band type that determines if this band should apply.
    void
    setPercentagePerItem(BigDecimal percentagePerItem)
    Percentage to multiply against a FulfillmentPricingItem.getMerchandiseTotalAmount() () FulfillmentItem's total}.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FulfillmentOptionBand

      public FulfillmentOptionBand()
  • Method Details

    • getMinimum

      public BigDecimal getMinimum()
      The minimum amount required for the corresponding band 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()
      Percentage to multiply against a FulfillmentPricingItem.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 per FulfillmentPricingItem in a group.
      Returns:
      Fixed prices (by currency) to add per FulfillmentPricingItem in a group.
    • getFixedPricePerGroup

      public Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount> getFixedPricePerGroup()
      Fixed prices (by currency) to add per FulfillmentPricingRequest.
      Returns:
      Fixed prices (by currency) to add per FulfillmentPricingRequest.
    • setMinimum

      public void setMinimum(BigDecimal minimum)
      The minimum amount required for the corresponding band type that determines if this band should apply.
      Parameters:
      minimum - The minimum amount for the type specified in the owning BandedFulfillmentPricingOption.getBandType().
    • setPercentagePerItem

      public void setPercentagePerItem(BigDecimal percentagePerItem)
      Percentage to multiply against a FulfillmentPricingItem.getMerchandiseTotalAmount() () FulfillmentItem's total}.
      Parameters:
      percentagePerItem - Percentage to multiply against a FulfillmentPricingItem.getMerchandiseTotalAmount() () FulfillmentItem's total}.
    • setFixedPricePerItem

      public void setFixedPricePerItem(Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount> fixedPricePerItem)
      Fixed prices (by currency) to add per FulfillmentPricingItem in a group.
      Parameters:
      fixedPricePerItem - Fixed prices (by currency) to add per FulfillmentPricingItem in a group.
    • setFixedPricePerGroup

      public void setFixedPricePerGroup(Set<com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount> fixedPricePerGroup)
      Fixed prices (by currency) to add per FulfillmentPricingRequest.
      Parameters:
      fixedPricePerGroup - Fixed prices (by currency) to add per FulfillmentPricingRequest.