@Entity public class SkuFeeImpl extends java.lang.Object implements SkuFee
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
amount |
protected BroadleafCurrency |
currency |
protected java.lang.String |
description |
protected java.lang.String |
expression |
protected java.lang.String |
feeType |
protected java.lang.Long |
id |
protected java.lang.String |
name |
protected java.util.List<Sku> |
skus |
protected java.lang.Boolean |
taxable |
| Constructor and Description |
|---|
SkuFeeImpl() |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Gets the amount to charge for this surcharge
|
BroadleafCurrency |
getCurrency() |
java.lang.String |
getDescription()
Get the description of the surcharge
|
java.lang.String |
getExpression()
Gets the optional MVEL expression used as additional criteria to determine if
this fee applies
|
SkuFeeType |
getFeeType() |
java.lang.Long |
getId() |
java.lang.String |
getName()
Get the name of the surcharge
|
java.util.List<Sku> |
getSkus()
Gets the Skus associated with this surcharge
|
java.lang.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(java.lang.String description)
Sets the fee description
|
void |
setExpression(java.lang.String expression)
Sets the MVEL expression used to determine if this fee should be applied.
|
void |
setFeeType(SkuFeeType feeType) |
void |
setId(java.lang.Long id) |
void |
setName(java.lang.String name)
Sets the name of the surcharge
|
void |
setSkus(java.util.List<Sku> skus)
Sets the Skus associated with this surcharge
|
void |
setTaxable(java.lang.Boolean taxable)
Sets whether or not this surcharge should be included in tax calculations
|
protected java.lang.Long id
protected java.lang.String name
protected java.lang.String description
protected java.math.BigDecimal amount
protected java.lang.Boolean taxable
protected java.lang.String expression
protected java.lang.String feeType
protected java.util.List<Sku> skus
protected BroadleafCurrency currency
public java.lang.String getName()
SkuFeepublic void setName(java.lang.String name)
SkuFeepublic java.lang.String getDescription()
SkuFeegetDescription in interface SkuFeepublic void setDescription(java.lang.String description)
SkuFeesetDescription in interface SkuFeepublic Money getAmount()
SkuFeepublic void setAmount(Money amount)
SkuFeepublic java.lang.Boolean getTaxable()
SkuFeegetTaxable in interface SkuFeepublic void setTaxable(java.lang.Boolean taxable)
SkuFeesetTaxable in interface SkuFeepublic java.lang.String getExpression()
SkuFeegetExpression in interface SkuFeepublic void setExpression(java.lang.String expression)
SkuFeesetExpression in interface SkuFeeexpression - - a valid MVEL expressionpublic SkuFeeType getFeeType()
getFeeType in interface SkuFeepublic void setFeeType(SkuFeeType feeType)
setFeeType in interface SkuFeepublic java.util.List<Sku> getSkus()
SkuFeepublic void setSkus(java.util.List<Sku> skus)
SkuFeepublic BroadleafCurrency getCurrency()
getCurrency in interface SkuFeepublic void setCurrency(BroadleafCurrency currency)
setCurrency in interface SkuFeeCopyright © 2018. All Rights Reserved.