public enum OrderResponseCode extends Enum<OrderResponseCode>
| Enum Constant and Description |
|---|
CONDITIONALLY_ACCEPTED |
MESSAGE_ACKNOWLEDGEMENT |
ORDER_ACCEPTED |
ORDER_REJECTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static OrderResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderResponseCode ORDER_REJECTED
public static final OrderResponseCode ORDER_ACCEPTED
public static final OrderResponseCode CONDITIONALLY_ACCEPTED
public static final OrderResponseCode MESSAGE_ACKNOWLEDGEMENT
public static OrderResponseCode[] values()
for (OrderResponseCode c : OrderResponseCode.values()) System.out.println(c);
public static OrderResponseCode 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()
Copyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.