Enum ItemType

java.lang.Object
java.lang.Enum<ItemType>
cz.gopay.api.v3.model.payment.support.ItemType
All Implemented Interfaces:
Serializable, Comparable<ItemType>, java.lang.constant.Constable

public enum ItemType extends Enum<ItemType>
Created by FrantiĊĦek Sichinger on 30.1.17.
  • Enum Constant Details

    • ITEM

      public static final ItemType ITEM
    • DISCOUNT

      public static final ItemType DISCOUNT
    • DELIVERY

      public static final ItemType DELIVERY
    • POSTAGE

      public static final ItemType POSTAGE
  • Method Details

    • values

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

      public static ItemType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null