|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SkuFee
Used to represent Sku-specific surcharges when fulfilling this item. For instance there might be a disposal fee when selling batteries or an environmental fee for tires.
FulfillmentGroupFee}, {@link FulfillmentGroup}| Method Summary | |
|---|---|
Money |
getAmount()
Gets the amount to charge for this surcharge |
BroadleafCurrency |
getCurrency()
|
String |
getDescription()
Get the description of the surcharge |
String |
getExpression()
Gets the optional MVEL expression used as additional criteria to determine if this fee applies |
SkuFeeType |
getFeeType()
|
Long |
getId()
|
String |
getName()
Get the name of the surcharge |
List<Sku> |
getSkus()
Gets the Skus associated with this surcharge |
Boolean |
getTaxable()
Gets whether or not this surcharge is taxable. |
void |
setAmount(Money amount)
Sets the amount to charge for this surcharge |
void |
setCurrency(BroadleafCurrency currency)
|
void |
setDescription(String description)
Sets the fee description |
void |
setExpression(String expression)
Sets the MVEL expression used to determine if this fee should be applied. |
void |
setFeeType(SkuFeeType feeType)
|
void |
setId(Long id)
|
void |
setName(String name)
Sets the name of the surcharge |
void |
setSkus(List<Sku> skus)
Sets the Skus associated with this surcharge |
void |
setTaxable(Boolean taxable)
Sets whether or not this surcharge should be included in tax calculations |
| Method Detail |
|---|
Long getId()
void setId(Long id)
String getName()
void setName(String name)
name - String getDescription()
void setDescription(String description)
description - Money getAmount()
void setAmount(Money amount)
amount - Boolean getTaxable()
void setTaxable(Boolean taxable)
taxable - String getExpression()
void setExpression(String expression)
expression - - a valid MVEL expressionSkuFeeType getFeeType()
void setFeeType(SkuFeeType feeType)
List<Sku> getSkus()
void setSkus(List<Sku> skus)
skus - BroadleafCurrency getCurrency()
void setCurrency(BroadleafCurrency currency)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||