public enum GroupDiscountBasisEnumeration extends Enum<GroupDiscountBasisEnumeration>
Java class for GroupDiscountBasisEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GroupDiscountBasisEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="none"/>
<enumeration value="free"/>
<enumeration value="discountForFirstPersonOnly"/>
<enumeration value="discountForSecondAndSubsequentPersons"/>
<enumeration value="stepDiscount"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DISCOUNT_FOR_FIRST_PERSON_ONLY |
DISCOUNT_FOR_SECOND_AND_SUBSEQUENT_PERSONS |
FREE |
NONE |
OTHER |
STEP_DISCOUNT |
| Modifier and Type | Method and Description |
|---|---|
static GroupDiscountBasisEnumeration |
fromValue(String v) |
String |
value() |
static GroupDiscountBasisEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupDiscountBasisEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupDiscountBasisEnumeration NONE
public static final GroupDiscountBasisEnumeration FREE
public static final GroupDiscountBasisEnumeration DISCOUNT_FOR_FIRST_PERSON_ONLY
public static final GroupDiscountBasisEnumeration DISCOUNT_FOR_SECOND_AND_SUBSEQUENT_PERSONS
public static final GroupDiscountBasisEnumeration STEP_DISCOUNT
public static final GroupDiscountBasisEnumeration OTHER
public static GroupDiscountBasisEnumeration[] values()
for (GroupDiscountBasisEnumeration c : GroupDiscountBasisEnumeration.values()) System.out.println(c);
public static GroupDiscountBasisEnumeration 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 value()
public static GroupDiscountBasisEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.