Class FulfillmentPriceBandImpl
java.lang.Object
org.broadleafcommerce.core.order.fulfillment.domain.FulfillmentBandImpl
org.broadleafcommerce.core.order.fulfillment.domain.FulfillmentPriceBandImpl
- All Implemented Interfaces:
Serializable,FulfillmentBand,FulfillmentPriceBand
@Entity
public class FulfillmentPriceBandImpl
extends FulfillmentBandImpl
implements FulfillmentPriceBand
- Author:
- Phillip Verheyden
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected BandedPriceFulfillmentOptionprotected BigDecimalFields inherited from class org.broadleafcommerce.core.order.fulfillment.domain.FulfillmentBandImpl
resultAmount, resultAmountType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets theBandedPriceFulfillmentOptionthat this band is associated toGets the minimum amount that this band is valid for.voidvoidSets theBandedPriceFulfillmentOptionto associate with this bandvoidsetRetailPriceMinimumAmount(BigDecimal retailPriceMinimumAmount) Set the minimum amount that this band is valid for.Methods inherited from class org.broadleafcommerce.core.order.fulfillment.domain.FulfillmentBandImpl
getResultAmount, getResultAmountType, setResultAmount, setResultAmountTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.core.order.fulfillment.domain.FulfillmentBand
getResultAmount, getResultAmountType, setResultAmount, setResultAmountType
-
Field Details
-
id
-
retailPriceMinimumAmount
-
option
-
-
Constructor Details
-
FulfillmentPriceBandImpl
public FulfillmentPriceBandImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceFulfillmentBand
-
setId
- Specified by:
setIdin interfaceFulfillmentBand
-
getRetailPriceMinimumAmount
Description copied from interface:FulfillmentPriceBandGets the minimum amount that this band is valid for. If the addition of all of the retail prices on all theOrderItems in aFulfillmentGroupcomes to at least this amount, this band result amount will be applied to the fulfillment cost.- Specified by:
getRetailPriceMinimumAmountin interfaceFulfillmentPriceBand- Returns:
- the minimum retail price amount of the sum of the
OrderItems in aFulfillmentGroupthat this band qualifies for
-
setRetailPriceMinimumAmount
Description copied from interface:FulfillmentPriceBandSet the minimum amount that this band is valid for. If the addition of all of the retail prices on all theOrderItems in aFulfillmentGroupcomes to at least this amount, this band result amount will be applied to the fulfillment cost.- Specified by:
setRetailPriceMinimumAmountin interfaceFulfillmentPriceBand
-
getOption
Description copied from interface:FulfillmentPriceBandGets theBandedPriceFulfillmentOptionthat this band is associated to- Specified by:
getOptionin interfaceFulfillmentPriceBand- Returns:
- the associated
BandedPriceFulfillmentOption
-
setOption
Description copied from interface:FulfillmentPriceBandSets theBandedPriceFulfillmentOptionto associate with this band- Specified by:
setOptionin interfaceFulfillmentPriceBand
-