org.broadleafcommerce.core.order.domain
Interface TaxDetail

All Superinterfaces:
Serializable
All Known Implementing Classes:
TaxDetailImpl

public interface TaxDetail
extends Serializable

The Interface TaxDetail. A TaxDetail object stores relevant tax information including a tax type, amount, and rate.


Method Summary
 Money getAmount()
          Gets the tax amount
 Long getId()
          Gets the id.
 BigDecimal getRate()
          Gets the tax rate
 TaxType getType()
          Gets the tax type
 void setAmount(Money amount)
          Sets the tax amount
 void setId(Long id)
          Sets the id.
 void setRate(BigDecimal rate)
          Sets the tax rate.
 void setType(TaxType type)
          Sets the tax type
 

Method Detail

getId

Long getId()
Gets the id.

Returns:
the id

setId

void setId(Long id)
Sets the id.

Parameters:
id - the new id

getType

TaxType getType()
Gets the tax type

Returns:
the tax type

setType

void setType(TaxType type)
Sets the tax type

Parameters:
type - the tax type

getAmount

Money getAmount()
Gets the tax amount

Returns:
the tax amount

setAmount

void setAmount(Money amount)
Sets the tax amount

Parameters:
amount - the tax amount

getRate

BigDecimal getRate()
Gets the tax rate

Returns:
the rate

setRate

void setRate(BigDecimal rate)
Sets the tax rate.

Parameters:
name - the tax rate


Copyright © 2012. All Rights Reserved.