Interface TaxDetail

All Superinterfaces:
MultiTenantCloneable<TaxDetail>, Serializable
All Known Implementing Classes:
TaxDetailImpl

public interface TaxDetail extends Serializable, MultiTenantCloneable<TaxDetail>
The Interface TaxDetail. A TaxDetail object stores relevant tax information including a tax type, amount, and rate.
  • Method Details

    • 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:
      rate - name the tax rate
    • getCurrency

      BroadleafCurrency getCurrency()
    • setCurrency

      void setCurrency(BroadleafCurrency currency)
    • getModuleConfiguration

      ModuleConfiguration getModuleConfiguration()
      Returns the configuration of the module that was used to calculate taxes. Allows for tracking, especially when more than one module may be used by the system.
      Returns:
    • setModuleConfiguration

      void setModuleConfiguration(ModuleConfiguration config)
      Sets the module configuration that was used to calculate taxes. Allows for tracking of which module was used, especially in cases where more than one module is available over time.
      Parameters:
      config -
    • getJurisdictionName

      String getJurisdictionName()
      Returns the name of the tax jurisdiction. May return null.
      Returns:
    • setJurisdictionName

      void setJurisdictionName(String jurisdiction)
      Optionally sets the name of the tax jurisdiction.
      Parameters:
      jurisdiction -
    • getTaxName

      String getTaxName()
      Gets the name of the tax. May return null.
      Returns:
    • setTaxName

      void setTaxName(String taxName)
      Sets the name of the tax, if applicable.
      Parameters:
      taxName -
    • getRegion

      String getRegion()
      Returns the name of the region used for tax calculation. May return null.
      Returns:
    • setRegion

      void setRegion(String region)
      Sets the region, as a string. Typically this will be a State, Province, or County.
      Parameters:
      region -
    • getCountry

      String getCountry()
      Returns the country, as a string, used for tax calculation. May return null.
      Returns:
    • setCountry

      void setCountry(String country)
      Sets the country used for tax calculation.
      Parameters:
      country -