Class BandedFulfillmentPricingOption

java.lang.Object
com.broadleafcommerce.shipping.FulfillmentOption
com.broadleafcommerce.shipping.service.integrations.banded.BandedFulfillmentPricingOption
All Implemented Interfaces:
Serializable

public class BandedFulfillmentPricingOption extends com.broadleafcommerce.shipping.FulfillmentOption
A banded fulfillment option has potentially many configurations per option defined by the bands (or tiers) in that option. This configuration will apply some combination of pricing using banded prices for groups and items and rate (percentage) calculations.
Author:
Chad Harchar (charchar)
See Also:
  • Constructor Details

    • BandedFulfillmentPricingOption

      public BandedFulfillmentPricingOption()
  • Method Details

    • getBands

      public List<FulfillmentOptionBand> getBands()
    • getBandType

      public String getBandType()
      What type of band this option represents. This drives what FulfillmentOptionBand.getMinimum() is compared against.
      Returns:
      What type of band this option represents.
    • getUnits

      public String getUnits()
      The units to specify the FulfillmentOptionBand.getMinimum() in.
      Returns:
      The units to specify the FulfillmentOptionBand.getMinimum() in.
    • getDaysToShip

      public Integer getDaysToShip()
      The number of days this option is expected to ship.
      Returns:
      The number of days this option is expected to ship.
    • setBands

      public void setBands(List<FulfillmentOptionBand> bands)
    • setBandType

      public void setBandType(String bandType)
      What type of band this option represents. This drives what FulfillmentOptionBand.getMinimum() is compared against.
      Parameters:
      bandType - The type of band this option represents.
    • setUnits

      public void setUnits(String units)
      The units to specify the FulfillmentOptionBand.getMinimum() in.
      Parameters:
      units - The units to specify the FulfillmentOptionBand.getMinimum() in.
    • setDaysToShip

      public void setDaysToShip(Integer daysToShip)
      The number of days this option is expected to ship.
      Parameters:
      daysToShip - The number of days this option is expected to ship. estimate.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.broadleafcommerce.shipping.FulfillmentOption
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class com.broadleafcommerce.shipping.FulfillmentOption
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.broadleafcommerce.shipping.FulfillmentOption
    • toString

      public String toString()
      Overrides:
      toString in class com.broadleafcommerce.shipping.FulfillmentOption