@Entity public class SkuFeeImpl extends Object implements SkuFee
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected BroadleafCurrency |
currency |
protected String |
description |
protected String |
expression |
protected String |
feeType |
protected Long |
id |
protected String |
name |
protected List<Sku> |
skus |
protected Boolean |
taxable |
| Constructor and Description |
|---|
SkuFeeImpl() |
| Modifier and Type | Method and Description |
|---|---|
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
|
protected Long id
protected String name
protected String description
protected BigDecimal amount
protected Boolean taxable
protected String expression
protected String feeType
protected BroadleafCurrency currency
public String getName()
SkuFeepublic void setName(String name)
SkuFeepublic String getDescription()
SkuFeegetDescription in interface SkuFeepublic void setDescription(String description)
SkuFeesetDescription in interface SkuFeepublic Money getAmount()
SkuFeepublic void setAmount(Money amount)
SkuFeepublic Boolean getTaxable()
SkuFeegetTaxable in interface SkuFeepublic void setTaxable(Boolean taxable)
SkuFeesetTaxable in interface SkuFeepublic String getExpression()
SkuFeegetExpression in interface SkuFeepublic void setExpression(String expression)
SkuFeesetExpression in interface SkuFeeexpression - - a valid MVEL expressionpublic SkuFeeType getFeeType()
getFeeType in interface SkuFeepublic void setFeeType(SkuFeeType feeType)
setFeeType in interface SkuFeepublic List<Sku> getSkus()
SkuFeepublic void setSkus(List<Sku> skus)
SkuFeepublic BroadleafCurrency getCurrency()
getCurrency in interface SkuFeepublic void setCurrency(BroadleafCurrency currency)
setCurrency in interface SkuFeeCopyright © 2015. All Rights Reserved.