Enum Class DefaultOwningUserType

java.lang.Object
java.lang.Enum<DefaultOwningUserType>
com.broadleafcommerce.creditaccount.domain.enums.DefaultOwningUserType
All Implemented Interfaces:
OwningUserType, Serializable, Comparable<DefaultOwningUserType>, Constable

public enum DefaultOwningUserType extends Enum<DefaultOwningUserType> implements OwningUserType
The default owning user types for the credit accounts.
Author:
Dima Myroniuk (dmyroniuk)
  • Enum Constant Details

  • Method Details

    • values

      public static DefaultOwningUserType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefaultOwningUserType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isBroadleafCustomer

      public static boolean isBroadleafCustomer(String owningUserType)
    • isBroadleafAccount

      public static boolean isBroadleafAccount(String owningUserType)
    • isAnonymousUser

      public static boolean isAnonymousUser(String owningUserType)
    • isAnonymousUserEmail

      public static boolean isAnonymousUserEmail(String owningUserType)
    • isAnonymousUserPhone

      public static boolean isAnonymousUserPhone(String owningUserType)