Class 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:
    Serialized Form
    • Constructor Detail

      • BandedFulfillmentPricingOption

        public BandedFulfillmentPricingOption()
    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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