public enum PaymentType extends Enum<PaymentType>
Clase Java para PaymentType.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="PaymentType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="No_Publish"/>
<enumeration value="Free"/>
<enumeration value="Single"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FREE |
NO_PUBLISH |
SINGLE |
| Modifier and Type | Method and Description |
|---|---|
static PaymentType |
fromValue(String v) |
String |
value() |
static PaymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentType NO_PUBLISH
public static final PaymentType FREE
public static final PaymentType SINGLE
public static PaymentType[] values()
for (PaymentType c : PaymentType.values()) System.out.println(c);
public static PaymentType 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 PaymentType fromValue(String v)
Copyright © 2015. All Rights Reserved.