public static enum SimpleProductDTO.VoucherTypeEnum extends Enum<SimpleProductDTO.VoucherTypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleProductDTO.VoucherTypeEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static SimpleProductDTO.VoucherTypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static SimpleProductDTO.VoucherTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleProductDTO.VoucherTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleProductDTO.VoucherTypeEnum DEFAULT
public static final SimpleProductDTO.VoucherTypeEnum CUSTOM
public static SimpleProductDTO.VoucherTypeEnum[] values()
for (SimpleProductDTO.VoucherTypeEnum c : SimpleProductDTO.VoucherTypeEnum.values()) System.out.println(c);
public static SimpleProductDTO.VoucherTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<SimpleProductDTO.VoucherTypeEnum>public static SimpleProductDTO.VoucherTypeEnum fromValue(String text)
Copyright © 2018. All rights reserved.