com.elasticpath.domain.order
Interface OrderTaxValue

All Superinterfaces:
EpDomain, java.io.Serializable, Transient
All Known Implementing Classes:
OrderTaxValueImpl

public interface OrderTaxValue
extends Transient

Represents order tax information.


Method Summary
 java.lang.String getTaxCategoryDisplayName()
          Get the taxCategory display name in order locale.
 java.lang.String getTaxCategoryName()
          Get the taxCategory name.
 java.math.BigDecimal getTaxValue()
          Get the tax value.
 Money getTaxValueMoney(java.util.Currency orderCurrency)
          Return the taxValue as Money object, given the order locale.
 void setTaxCategoryDisplayName(java.lang.String taxCategoryDisplayName)
          Set the taxCategory display name in order locale.
 void setTaxCategoryName(java.lang.String taxCategoryName)
          Set the taxCategory name.
 void setTaxValue(java.math.BigDecimal taxValue)
          Set the tax value.
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getTaxCategoryDisplayName

java.lang.String getTaxCategoryDisplayName()
Get the taxCategory display name in order locale.

Returns:
the taxCategory display name in order locale.

getTaxCategoryName

java.lang.String getTaxCategoryName()
Get the taxCategory name.

Returns:
the taxCategory name.

getTaxValue

java.math.BigDecimal getTaxValue()
Get the tax value.

Returns:
the tax value.

getTaxValueMoney

Money getTaxValueMoney(java.util.Currency orderCurrency)
Return the taxValue as Money object, given the order locale.

Parameters:
orderCurrency - - the currency the order is placed in.
Returns:
the taxValue as Money object.

setTaxCategoryDisplayName

void setTaxCategoryDisplayName(java.lang.String taxCategoryDisplayName)
Set the taxCategory display name in order locale.

Parameters:
taxCategoryDisplayName - - taxCategory display name in order locale.

setTaxCategoryName

void setTaxCategoryName(java.lang.String taxCategoryName)
Set the taxCategory name.

Parameters:
taxCategoryName - the taxCategory name.

setTaxValue

void setTaxValue(java.math.BigDecimal taxValue)
Set the tax value.

Parameters:
taxValue - the tax value.