com.konakart.appif
Interface TaxRateIf

All Known Implementing Classes:
TaxRate

public interface TaxRateIf

Describes a tax rate. i.e. 17.5% Value added tax. The rate is associated to a tax class and a tax zone (GeoZone). i.e. 17.5% VAT for non food items in a tax zone. More than one tax zone (GeoZone) may apply to a physical zone (Zone). i.e. The state of California may have state tax and federal tax.


Method Summary
 java.lang.String getDescription()
          The description of the tax rate.
 int getId()
           
 int getPriority()
          There may be more than one tax rate.
 java.math.BigDecimal getRate()
           
 void setDescription(java.lang.String description)
          The description of the tax rate.
 void setId(int id)
           
 void setPriority(int priority)
          There may be more than one tax rate.
 void setRate(java.math.BigDecimal rate)
           
 

Method Detail

getDescription

java.lang.String getDescription()
The description of the tax rate. e.g. FL TAX 7.0%

Returns:
Returns the description.

setDescription

void setDescription(java.lang.String description)
The description of the tax rate. e.g. FL TAX 7.0%

Parameters:
description - The description to set.

getId

int getId()
Returns:
Returns the id.

setId

void setId(int id)
Parameters:
id - The id to set.

getPriority

int getPriority()
There may be more than one tax rate. If this is the case the rates have to be applied starting from the first rate and then compounded. If there are multiple rates with the same priority, then these are added together and can be applied in a single calculation. If there are multiple rates with different priorities, then they are compounded.

Returns:
Returns the priority.

setPriority

void setPriority(int priority)
There may be more than one tax rate. If this is the case the rates have to be applied starting from the first rate and then compounded. If there are multiple rates with the same priority, then these are added together and can be applied in a single calculation. If there are multiple rates with different priorities, then they are compounded.

Parameters:
priority - The priority to set.

getRate

java.math.BigDecimal getRate()
Returns:
Returns the rate.

setRate

void setRate(java.math.BigDecimal rate)
Parameters:
rate - The rate to set.


Copyright © 2011 DS Data Systems UK Ltd.