@MappedSuperclass public abstract class FulfillmentBandImpl extends Object implements FulfillmentBand
FulfillmentPriceBandImpl}, {@link FulfillmentWeightBandImpl},
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
resultAmount |
protected String |
resultAmountType |
| Constructor and Description |
|---|
FulfillmentBandImpl() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getResultAmount()
Gets the amount that should be applied to the fulfillment
cost for the
FulfillmentGroup. |
FulfillmentBandResultAmountType |
getResultAmountType()
Gets how
FulfillmentBand.getResultAmount() should be applied to the fulfillment cost |
void |
setResultAmount(BigDecimal resultAmount)
Sets the amount that should be applied to the fulfillment cost
for this band.
|
void |
setResultAmountType(FulfillmentBandResultAmountType resultAmountType)
Sets how
FulfillmentBand.getResultAmount() should be applied to the fulfillment cost |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, setIdprotected BigDecimal resultAmount
protected String resultAmountType
public BigDecimal getResultAmount()
FulfillmentBandFulfillmentGroup. This could be applied as
a percentage or as a flat rate, depending on the result of calling
#getResultType(). This is required and should never be nullgetResultAmount in interface FulfillmentBandpublic void setResultAmount(BigDecimal resultAmount)
FulfillmentBand#getResultType().setResultAmount in interface FulfillmentBandresultAmount - - the percentage or flat rate that should be applied
as a fulfillment cost for this bandpublic FulfillmentBandResultAmountType getResultAmountType()
FulfillmentBandFulfillmentBand.getResultAmount() should be applied to the fulfillment costgetResultAmountType in interface FulfillmentBandFulfillmentBand.getResultAmount() which determines how that value
should be calculated into the costpublic void setResultAmountType(FulfillmentBandResultAmountType resultAmountType)
FulfillmentBandFulfillmentBand.getResultAmount() should be applied to the fulfillment costsetResultAmountType in interface FulfillmentBandresultAmountType - - how the value from FulfillmentBand.getResultAmount() should be
applied to the cost of the FulfillmentGroupCopyright © 2015. All Rights Reserved.