com.elasticpath.domain.tax
Interface TaxJurisdictionCategoryX

All Superinterfaces:
EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
TaxJurisdictionCategoryXImpl

public interface TaxJurisdictionCategoryX
extends ValueObject

TaxJurisdictionCategoryX represents the TaxJurisdiction and TaxCategory association, include the taxValues for each configured TaxCode.


Method Summary
 TaxCategory getTaxCategory()
          Return the tax category.
 java.util.Map getTaxValueMap()
          Return the tax code -> value map.
 java.math.BigDecimal getValue(java.lang.String taxCode)
          Return the tax value.
 void setTaxCategory(TaxCategory taxCategory)
          Set the tax category.
 void setTaxValueMap(java.util.Map taxValueMap)
          Set the the tax code -> value map.
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getTaxCategory

TaxCategory getTaxCategory()
Return the tax category.

Returns:
the tax category.

getTaxValueMap

java.util.Map getTaxValueMap()
Return the tax code -> value map.

Returns:
the tax code -> value map.

getValue

java.math.BigDecimal getValue(java.lang.String taxCode)
Return the tax value.

Parameters:
taxCode - the tax code.
Returns:
the tax value.

setTaxCategory

void setTaxCategory(TaxCategory taxCategory)
Set the tax category.

Parameters:
taxCategory - the tax category

setTaxValueMap

void setTaxValueMap(java.util.Map taxValueMap)
Set the the tax code -> value map.

Parameters:
taxValueMap - - tax code -> value map.