org.broadleafcommerce.core.order.fulfillment.domain
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:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
retailPriceMinimumAmount
protected BigDecimal retailPriceMinimumAmount
option
protected BandedPriceFulfillmentOption option
FulfillmentPriceBandImpl
public FulfillmentPriceBandImpl()
getId
public Long getId()
- Specified by:
getId in interface FulfillmentBand
setId
public void setId(Long id)
- Specified by:
setId in interface FulfillmentBand
getRetailPriceMinimumAmount
public BigDecimal getRetailPriceMinimumAmount()
- Description copied from interface:
FulfillmentPriceBand
- Gets the minimum amount that this band is valid for. If the addition
of all of the retail prices on all the
OrderItems in a FulfillmentGroup
comes to at least this amount, this band result amount will be applied to the
fulfillment cost.
- Specified by:
getRetailPriceMinimumAmount in interface FulfillmentPriceBand
- Returns:
- the minimum retail price amount of the sum of the
OrderItems in a
FulfillmentGroup that this band qualifies for
setRetailPriceMinimumAmount
public void setRetailPriceMinimumAmount(BigDecimal retailPriceMinimumAmount)
- Description copied from interface:
FulfillmentPriceBand
- Set the minimum amount that this band is valid for. If the addition
of all of the retail prices on all the
OrderItems in a FulfillmentGroup
comes to at least this amount, this band result amount will be applied to the
fulfillment cost.
- Specified by:
setRetailPriceMinimumAmount in interface FulfillmentPriceBand
getOption
public BandedPriceFulfillmentOption getOption()
- Description copied from interface:
FulfillmentPriceBand
- Gets the
BandedPriceFulfillmentOption that this band is associated to
- Specified by:
getOption in interface FulfillmentPriceBand
- Returns:
- the associated
BandedPriceFulfillmentOption
setOption
public void setOption(BandedPriceFulfillmentOption option)
- Description copied from interface:
FulfillmentPriceBand
- Sets the
BandedPriceFulfillmentOption to associate with this band
- Specified by:
setOption in interface FulfillmentPriceBand
Copyright © 2012. All Rights Reserved.