|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FulfillmentBand
This entity is a collection of properties shared between different band implementations. Out of the box, Broadleaf provides implementations for banded weight and banded price.
FulfillmentPriceBand}, {@link FulfillmentWeightBand}| Method Summary | |
|---|---|
Long |
getId()
|
BigDecimal |
getResultAmount()
Gets the amount that should be applied to the fulfillment cost for the FulfillmentGroup. |
FulfillmentBandResultAmountType |
getResultAmountType()
Gets how getResultAmount() should be applied to the fulfillment cost |
void |
setId(Long id)
|
void |
setResultAmount(BigDecimal resultAmount)
Sets the amount that should be applied to the fulfillment cost for this band. |
void |
setResultAmountType(FulfillmentBandResultAmountType resultAmountType)
Sets how getResultAmount() should be applied to the fulfillment cost |
| Method Detail |
|---|
Long getId()
void setId(Long id)
BigDecimal getResultAmount()
FulfillmentGroup. 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 null
void setResultAmount(BigDecimal resultAmount)
#getResultType().
resultAmount - - the percentage or flat rate that should be applied
as a fulfillment cost for this bandFulfillmentBandResultAmountType getResultAmountType()
getResultAmount() should be applied to the fulfillment cost
getResultAmount() which determines how that value
should be calculated into the costvoid setResultAmountType(FulfillmentBandResultAmountType resultAmountType)
getResultAmount() should be applied to the fulfillment cost
resultAmountType - - how the value from getResultAmount() should be
applied to the cost of the FulfillmentGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||