|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.catalog.domain.SkuFeeImpl
@Entity public class SkuFeeImpl
| Field Summary | |
|---|---|
protected BigDecimal |
amount
|
protected String |
description
|
protected String |
expression
|
protected String |
feeType
|
protected Long |
id
|
protected String |
name
|
protected List<Sku> |
skus
|
protected Boolean |
taxable
|
| Constructor Summary | |
|---|---|
SkuFeeImpl()
|
|
| Method Summary | |
|---|---|
Money |
getAmount()
Gets the amount to charge for this surcharge |
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 |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected String name
protected String description
protected BigDecimal amount
protected Boolean taxable
protected String expression
protected String feeType
protected List<Sku> skus
| Constructor Detail |
|---|
public SkuFeeImpl()
| Method Detail |
|---|
public Long getId()
getId in interface SkuFeepublic void setId(Long id)
setId in interface SkuFeepublic String getName()
SkuFee
getName in interface SkuFeepublic void setName(String name)
SkuFee
setName in interface SkuFeepublic String getDescription()
SkuFee
getDescription in interface SkuFeepublic void setDescription(String description)
SkuFee
setDescription in interface SkuFeepublic Money getAmount()
SkuFee
getAmount in interface SkuFeepublic void setAmount(Money amount)
SkuFee
setAmount in interface SkuFeepublic Boolean getTaxable()
SkuFee
getTaxable in interface SkuFeepublic void setTaxable(Boolean taxable)
SkuFee
setTaxable in interface SkuFeepublic String getExpression()
SkuFee
getExpression in interface SkuFeepublic void setExpression(String expression)
SkuFee
setExpression in interface SkuFeeexpression - - a valid MVEL expressionpublic SkuFeeType getFeeType()
getFeeType in interface SkuFeepublic void setFeeType(SkuFeeType feeType)
setFeeType in interface SkuFeepublic List<Sku> getSkus()
SkuFee
getSkus in interface SkuFeepublic void setSkus(List<Sku> skus)
SkuFee
setSkus in interface SkuFee
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||