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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BandedFulfillmentPricingOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<FulfillmentOptionBand>
getBands()
String
getBandType()
What type of band this option represents.Integer
getDaysToShip()
The number of days this option is expected to ship.String
getUnits()
The units to specify theFulfillmentOptionBand.getMinimum()
in.int
hashCode()
void
setBands(List<FulfillmentOptionBand> bands)
void
setBandType(String bandType)
What type of band this option represents.void
setDaysToShip(Integer daysToShip)
The number of days this option is expected to ship.void
setUnits(String units)
The units to specify theFulfillmentOptionBand.getMinimum()
in.String
toString()
-
-
-
Method Detail
-
getBands
public List<FulfillmentOptionBand> getBands()
-
getBandType
public String getBandType()
What type of band this option represents. This drives whatFulfillmentOptionBand.getMinimum()
is compared against.- Returns:
- What type of band this option represents.
-
getUnits
public String getUnits()
The units to specify theFulfillmentOptionBand.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 whatFulfillmentOptionBand.getMinimum()
is compared against.- Parameters:
bandType
- The type of band this option represents.
-
setUnits
public void setUnits(String units)
The units to specify theFulfillmentOptionBand.getMinimum()
in.- Parameters:
units
- The units to specify theFulfillmentOptionBand.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 classcom.broadleafcommerce.shipping.FulfillmentOption
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classcom.broadleafcommerce.shipping.FulfillmentOption
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.broadleafcommerce.shipping.FulfillmentOption
-
toString
public String toString()
- Overrides:
toString
in classcom.broadleafcommerce.shipping.FulfillmentOption
-
-