Enum Class CreditCardType

java.lang.Object
java.lang.Enum<CreditCardType>
de.hybris.platform.core.enums.CreditCardType
All Implemented Interfaces:
HybrisEnumValue, Serializable, Comparable<CreditCardType>, Constable

public enum CreditCardType extends Enum<CreditCardType> implements HybrisEnumValue
Generated enum CreditCardType declared at extension core.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Generated enum value for CreditCardType.amex declared at extension core.
    Generated enum value for CreditCardType.diners declared at extension core.
    Generated enum value for CreditCardType.maestro declared at extension payment.
    Generated enum value for CreditCardType.master declared at extension core.
    Generated enum value for CreditCardType.mastercard_eurocard declared at extension payment.
    Generated enum value for CreditCardType.switch declared at extension payment.
    Generated enum value for CreditCardType.visa declared at extension core.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated simple class name constant.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the code of this enum value.
    Gets the type this enum value belongs to.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • AMEX

      public static final CreditCardType AMEX
      Generated enum value for CreditCardType.amex declared at extension core.
    • MAESTRO

      public static final CreditCardType MAESTRO
      Generated enum value for CreditCardType.maestro declared at extension payment.
    • SWITCH

      public static final CreditCardType SWITCH
      Generated enum value for CreditCardType.switch declared at extension payment.
    • VISA

      public static final CreditCardType VISA
      Generated enum value for CreditCardType.visa declared at extension core.
    • MASTER

      public static final CreditCardType MASTER
      Generated enum value for CreditCardType.master declared at extension core.
    • MASTERCARD_EUROCARD

      public static final CreditCardType MASTERCARD_EUROCARD
      Generated enum value for CreditCardType.mastercard_eurocard declared at extension payment.
    • DINERS

      public static final CreditCardType DINERS
      Generated enum value for CreditCardType.diners declared at extension core.
  • Field Details

  • Method Details

    • values

      public static CreditCardType[] 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 CreditCardType 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
    • getCode

      public String getCode()
      Gets the code of this enum value.
      Specified by:
      getCode in interface HybrisEnumValue
      Returns:
      code of value
    • getType

      public String getType()
      Gets the type this enum value belongs to.
      Specified by:
      getType in interface HybrisEnumValue
      Returns:
      code of type