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

public class TaxType extends Object implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
An extensible enumeration of tax detail types
Author:
aazzolini
See Also:
  • Field Details

    • 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 Details

    • TaxType

      public TaxType()
    • TaxType

      public TaxType(String type, String friendlyType)
  • Method Details

    • getInstance

      public static TaxType getInstance(String type)
    • getType

      public String getType()
      Specified by:
      getType in interface org.broadleafcommerce.common.BroadleafEnumerationType
    • setType

      protected void setType(String type)
    • getFriendlyType

      public String getFriendlyType()
      Specified by:
      getFriendlyType in interface org.broadleafcommerce.common.BroadleafEnumerationType
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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