Package net.webpdf.wsclient.openapi
Enum OperationQrSwissPaymentContent.FormatEnum
- java.lang.Object
-
- java.lang.Enum<OperationQrSwissPaymentContent.FormatEnum>
-
- net.webpdf.wsclient.openapi.OperationQrSwissPaymentContent.FormatEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationQrSwissPaymentContent.FormatEnum>
- Enclosing class:
- OperationQrSwissPaymentContent
public static enum OperationQrSwissPaymentContent.FormatEnum extends Enum<OperationQrSwissPaymentContent.FormatEnum>
Selects the format of the encoded data. * plain = The code shall contain plain text. * json = The code shall contain structured json data.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationQrSwissPaymentContent.FormatEnumfromValue(String value)StringgetValue()StringtoString()static OperationQrSwissPaymentContent.FormatEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationQrSwissPaymentContent.FormatEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAIN
public static final OperationQrSwissPaymentContent.FormatEnum PLAIN
-
JSON
public static final OperationQrSwissPaymentContent.FormatEnum JSON
-
-
Method Detail
-
values
public static OperationQrSwissPaymentContent.FormatEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationQrSwissPaymentContent.FormatEnum c : OperationQrSwissPaymentContent.FormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationQrSwissPaymentContent.FormatEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationQrSwissPaymentContent.FormatEnum>
-
fromValue
public static OperationQrSwissPaymentContent.FormatEnum fromValue(String value)
-
-