|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractTransientImpl com.elasticpath.domain.order.impl.OrderTaxValueImpl
public class OrderTaxValueImpl
Represents order tax information.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
OrderTaxValueImpl()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object compareAgainst)
Had to override the equals to make sure that hibernate wouldn't insert and delete these value objects upon initialization. |
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. |
int |
hashCode()
Had to override the equals to make sure that hibernate wouldn't insert and delete these value objects upon initialization. |
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 class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public OrderTaxValueImpl()
Method Detail |
---|
public boolean equals(java.lang.Object compareAgainst)
equals
in class java.lang.Object
compareAgainst
- object to compare.
public java.lang.String getTaxCategoryDisplayName()
getTaxCategoryDisplayName
in interface OrderTaxValue
public java.lang.String getTaxCategoryName()
getTaxCategoryName
in interface OrderTaxValue
public java.math.BigDecimal getTaxValue()
getTaxValue
in interface OrderTaxValue
public Money getTaxValueMoney(java.util.Currency orderCurrency)
getTaxValueMoney
in interface OrderTaxValue
orderCurrency
- - the currency the order is placed in.
public int hashCode()
hashCode
in class java.lang.Object
public void setTaxCategoryDisplayName(java.lang.String taxCategoryDisplayName)
setTaxCategoryDisplayName
in interface OrderTaxValue
taxCategoryDisplayName
- - taxCategory display name in order locale.public void setTaxCategoryName(java.lang.String taxCategoryName)
setTaxCategoryName
in interface OrderTaxValue
taxCategoryName
- the taxCategory name.public void setTaxValue(java.math.BigDecimal taxValue)
setTaxValue
in interface OrderTaxValue
taxValue
- the tax value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |