org.broadleafcommerce.core.order.domain
Class TaxType
java.lang.Object
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
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
TaxType
public TaxType()
TaxType
public TaxType(String type,
String friendlyType)
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.