Package net.webpdf.wsclient.openapi
Enum OperationZugferdFileData.VersionEnum
- java.lang.Object
-
- java.lang.Enum<OperationZugferdFileData.VersionEnum>
-
- net.webpdf.wsclient.openapi.OperationZugferdFileData.VersionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationZugferdFileData.VersionEnum>
- Enclosing class:
- OperationZugferdFileData
public static enum OperationZugferdFileData.VersionEnum extends Enum<OperationZugferdFileData.VersionEnum>
Used to define the version of the ZUGFeRD XML file that should be embedded with \"xmlFile\". Versions 1.0, 2.0, 2.1.x and 2.2 are supported. Only the \"Comfort\" profile is available for version 1.0. Meanwhile, the \"Minimum\", \"Basic WL\", \"Basic\", \"EN16931\" (Comfort), and \"Extended\" profiles are supported for version 2.0. **Note:** Since version 2.x, the referenced profile \"XRECHNUNG\" is additionally available. This profile has been included specifically to include invoices for Germany, based on and under the sole responsibility of KoSIT, Germany's central coordination agency for IT's e-invoice CIUS \"XRechnung\". It is defined as the Standard for electronic invoices issued to public administrations, and essentially adds specific business rules to EN 16931 in order to comply with national laws and regulations. **Note:** Since version 2.1.1 ZUGFeRD and Factur-X are technically identical and both formats use Factur-X as common identification. List of versions with the corresponding profiles: * v10Comfort * v20Minimum * v20BasicWL * v20Basic * v20EN16931 * v20Extended * v21Minimum * v21BasicWL * v21Basic * v21EN16931 * v21Extended * v21XRechnung * v22Minimum * v22BasicWL * v22Basic * v22EN16931 * v22Extended * v22XRechnung
-
-
Enum Constant Summary
Enum Constants Enum Constant Description V10COMFORTV20BASICV20BASICWLV20EN16931V20EXTENDEDV20MINIMUMV21BASICV21BASICWLV21EN16931V21EXTENDEDV21MINIMUMV21XRECHNUNGV22BASICV22BASICWLV22EN16931V22EXTENDEDV22MINIMUMV22XRECHNUNG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationZugferdFileData.VersionEnumfromValue(String value)StringgetValue()StringtoString()static OperationZugferdFileData.VersionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationZugferdFileData.VersionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V10COMFORT
public static final OperationZugferdFileData.VersionEnum V10COMFORT
-
V20MINIMUM
public static final OperationZugferdFileData.VersionEnum V20MINIMUM
-
V20BASICWL
public static final OperationZugferdFileData.VersionEnum V20BASICWL
-
V20BASIC
public static final OperationZugferdFileData.VersionEnum V20BASIC
-
V20EN16931
public static final OperationZugferdFileData.VersionEnum V20EN16931
-
V20EXTENDED
public static final OperationZugferdFileData.VersionEnum V20EXTENDED
-
V21MINIMUM
public static final OperationZugferdFileData.VersionEnum V21MINIMUM
-
V21BASICWL
public static final OperationZugferdFileData.VersionEnum V21BASICWL
-
V21BASIC
public static final OperationZugferdFileData.VersionEnum V21BASIC
-
V21EN16931
public static final OperationZugferdFileData.VersionEnum V21EN16931
-
V21EXTENDED
public static final OperationZugferdFileData.VersionEnum V21EXTENDED
-
V21XRECHNUNG
public static final OperationZugferdFileData.VersionEnum V21XRECHNUNG
-
V22MINIMUM
public static final OperationZugferdFileData.VersionEnum V22MINIMUM
-
V22BASICWL
public static final OperationZugferdFileData.VersionEnum V22BASICWL
-
V22BASIC
public static final OperationZugferdFileData.VersionEnum V22BASIC
-
V22EN16931
public static final OperationZugferdFileData.VersionEnum V22EN16931
-
V22EXTENDED
public static final OperationZugferdFileData.VersionEnum V22EXTENDED
-
V22XRECHNUNG
public static final OperationZugferdFileData.VersionEnum V22XRECHNUNG
-
-
Method Detail
-
values
public static OperationZugferdFileData.VersionEnum[] 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 (OperationZugferdFileData.VersionEnum c : OperationZugferdFileData.VersionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationZugferdFileData.VersionEnum 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<OperationZugferdFileData.VersionEnum>
-
fromValue
public static OperationZugferdFileData.VersionEnum fromValue(String value)
-
-