org.broadleafcommerce.core.order.domain
Class TaxType

java.lang.Object
  extended by org.broadleafcommerce.core.order.domain.TaxType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class TaxType
extends Object
implements Serializable, BroadleafEnumerationType

An extensible enumeration of tax detail types

Author:
aazzolini
See Also:
Serialized Form

Field Summary
static TaxType CITY
           
static TaxType COMBINED
           
static TaxType COUNTRY
           
static TaxType COUNTY
           
static TaxType DISTRICT
           
static TaxType SHIPPING
           
static TaxType STATE
           
 
Constructor Summary
TaxType()
           
TaxType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static TaxType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CITY

public static final TaxType CITY

STATE

public static final TaxType STATE

DISTRICT

public static final TaxType DISTRICT

COUNTY

public static final TaxType COUNTY

COUNTRY

public static final TaxType COUNTRY

SHIPPING

public static final TaxType SHIPPING

COMBINED

public static final TaxType COMBINED
Constructor Detail

TaxType

public TaxType()

TaxType

public TaxType(String type,
               String friendlyType)
Method Detail

getInstance

public static TaxType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface BroadleafEnumerationType

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.