public static enum OrderRecordDTO.DeliveryMethodEnum extends Enum<OrderRecordDTO.DeliveryMethodEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderRecordDTO.DeliveryMethodEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static OrderRecordDTO.DeliveryMethodEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static OrderRecordDTO.DeliveryMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderRecordDTO.DeliveryMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderRecordDTO.DeliveryMethodEnum DIGITAL
public static final OrderRecordDTO.DeliveryMethodEnum SHIPPING
public static OrderRecordDTO.DeliveryMethodEnum[] values()
for (OrderRecordDTO.DeliveryMethodEnum c : OrderRecordDTO.DeliveryMethodEnum.values()) System.out.println(c);
public static OrderRecordDTO.DeliveryMethodEnum 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<OrderRecordDTO.DeliveryMethodEnum>public static OrderRecordDTO.DeliveryMethodEnum fromValue(String text)
Copyright © 2018. All rights reserved.