com.ibm.commerce.taxation.objects
Class TaxJurisdictionGroupCalculationRuleBean

com.ibm.commerce.taxation.objects.TaxJurisdictionGroupCalculationRuleBean
All Implemented Interfaces:
java.io.Serializable

public class TaxJurisdictionGroupCalculationRuleBean
implements java.io.Serializable

This bean provides access to the TAXJCRULE table.

The following is a description of this table:

This table can be used by a tax CalculationRuleQualifyMethod to choose a CalculationRule when shipping from a FulfillmentCenter to a shipping address that matches one of the TaxJurisdictions in a particular TaxJurisdictionGroup.

See Also:
Serialized Form

Constructor Summary
TaxJurisdictionGroupCalculationRuleBean()
           
 
Method Summary
 java.lang.Integer getCalculationRuleId()
          This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFulfillmentCenterId()
          This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getJurisdictionGroupId()
          This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
 java.lang.Double getPrecedence()
          This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 void setCalculationRuleId(java.lang.Integer aCalculationRuleId)
          This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
 void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
          This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
 void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)
          This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
 void setPrecedence(java.lang.Double aPrecedence)
          This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 

Constructor Detail

TaxJurisdictionGroupCalculationRuleBean

public TaxJurisdictionGroupCalculationRuleBean()
Method Detail

getCalculationRuleId

public java.lang.Integer getCalculationRuleId()

This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationRule.

Returns:
java.lang.Integer

getFulfillmentCenterId

public java.lang.Integer getFulfillmentCenterId()

This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.

Returns:
java.lang.Integer

getJurisdictionGroupId

public java.lang.Integer getJurisdictionGroupId()

This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The TaxJurisdictionGroup. If this is NULL, then this row applies to all TaxJurisdictionGroups.

Returns:
java.lang.Integer

getPrecedence

public java.lang.Double getPrecedence()

This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When a shipping address falls within more than one of the specified TaxJurisdictionGroups, for the same FulfillmentCenter, only the CalculationRule with the highest TAXJCRULE.PRECEDENCE value qualifies.

Returns:
java.lang.Double

setCalculationRuleId

public void setCalculationRuleId(java.lang.Integer aCalculationRuleId)

This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationRule.

Parameters:
aCalculationRuleId - java.lang.Integer
Returns:
void

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)

This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.

Parameters:
aFulfillmentCenterId - java.lang.Integer
Returns:
void

setJurisdictionGroupId

public void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)

This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The TaxJurisdictionGroup. If this is NULL, then this row applies to all TaxJurisdictionGroups.

Parameters:
aJurisdictionGroupId - java.lang.Integer
Returns:
void

setPrecedence

public void setPrecedence(java.lang.Double aPrecedence)

This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When a shipping address falls within more than one of the specified TaxJurisdictionGroups, for the same FulfillmentCenter, only the CalculationRule with the highest TAXJCRULE.PRECEDENCE value qualifies.

Parameters:
aPrecedence - java.lang.Double
Returns:
void