Class CustomerAddressType

java.lang.Object
org.broadleafcommerce.profile.core.service.type.CustomerAddressType
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

public class CustomerAddressType extends Object implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
An extendible enumeration of customer address types.
Author:
jfischer
See Also:
  • Field Details

  • Constructor Details

    • CustomerAddressType

      public CustomerAddressType()
    • CustomerAddressType

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

    • getInstance

      public static CustomerAddressType 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