public class ItemTaxInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field
|
Constructor and Description |
---|
ItemTaxInfo()
The default constructor.
|
ItemTaxInfo(java.lang.Long itemId, boolean isOrderItem)
Either the order item ID or catalog entry ID is set by constructor.
|
ItemTaxInfo(java.lang.Long itemId, boolean isOrderItem, java.util.HashMap hshArrValues) |
Modifier and Type | Method and Description |
---|---|
void | addTaxInfo(java.lang.Integer taxCategoryId, java.math.BigDecimal taxRate, java.math.BigDecimal taxAmount)
This method adds the tax rate and tax amount for the specified tax category.
|
boolean | equals(java.lang.Object aObj)
This method implements the equals method.
|
java.lang.Integer[] | getAppliedTaxCategories()
The method gets the applied tax categories for the item.
|
java.lang.Long | getCatalogEntryId()
This method gets the catalog entry id.
|
java.util.HashMap | getHshArrValues()
This method gets the hash map which contains the tax info for this item.
|
java.lang.Long | getOrderItemId()
This method gets the order item id.
|
java.math.BigDecimal | getTaxAmountForCategory(java.lang.Integer taxCategoryId)
This method gets the tax amount for the specified tax category.
|
java.math.BigDecimal[] | getTaxInfoForCategory(java.lang.Integer taxCategoryId)
This method gets the tax info for the specified tax category.
|
java.math.BigDecimal | getTaxRateForCategory(java.lang.Integer taxCategoryId)
This method gets the tax rate for the specified tax category.
|
int | hashCode()
This method implements the hashCode method.
|
void | setCatalogEntryId(java.lang.Long nCatalogEntryId)
This method sets the catalog entry id.
|
void | setHshArrValues(java.util.HashMap ahshArrValues)
This method sets the tax info hash map for this item.
|
void | setOrderItemId(java.lang.Long nOrderItemId)
This method sets the order item id.
|
java.lang.String | toString()
This method implements the toString method.
|
public static final java.lang.String COPYRIGHT
public ItemTaxInfo()
public ItemTaxInfo(java.lang.Long itemId, boolean isOrderItem)
public ItemTaxInfo(java.lang.Long itemId, boolean isOrderItem, java.util.HashMap hshArrValues)
public java.math.BigDecimal getTaxRateForCategory(java.lang.Integer taxCategoryId)
public java.math.BigDecimal getTaxAmountForCategory(java.lang.Integer taxCategoryId)
public java.math.BigDecimal[] getTaxInfoForCategory(java.lang.Integer taxCategoryId)
public java.lang.Integer[] getAppliedTaxCategories()
public void addTaxInfo(java.lang.Integer taxCategoryId, java.math.BigDecimal taxRate, java.math.BigDecimal taxAmount)
public boolean equals(java.lang.Object aObj)
public int hashCode()
public java.lang.String toString()
public java.lang.Long getOrderItemId()
public void setOrderItemId(java.lang.Long nOrderItemId)
public java.lang.Long getCatalogEntryId()
public void setCatalogEntryId(java.lang.Long nCatalogEntryId)
public java.util.HashMap getHshArrValues()
public void setHshArrValues(java.util.HashMap ahshArrValues)