Class OperationZugferdFileData


  • public class OperationZugferdFileData
    extends Object
    ZUGFeRD file (XML) in \"Base64 encoded\" format. The ZUGFeRD XSD schema will be used to validate the file before embedding. If it is not valid, the operation will be aborted.
    • Constructor Detail

      • OperationZugferdFileData

        public OperationZugferdFileData()
    • Method Detail

      • getSource

        @Nullable
        public @Nullable OperationZugferdFileData.SourceEnum getSource()
        Selects the data source for the hereby expressed resource. Possible values are: * value = The element's value shall contain the BASE64 encoded data. * uri = The data shall be located at the given uri.
        Returns:
        source
      • getUri

        @Nullable
        public @Nullable String getUri()
        The uri the data shall be located at. (This shall only have effect, if the \"source\" is \"uri\".)
        Returns:
        uri
      • setUri

        public void setUri​(String uri)
      • getValue

        @Nullable
        public @org.jetbrains.annotations.Nullable byte[] getValue()
        Get value
        Returns:
        value
      • setValue

        public void setValue​(byte[] value)
      • getVersion

        @Nullable
        public @Nullable OperationZugferdFileData.VersionEnum getVersion()
        Used to define the version of the ZUGFeRD XML file that should be embedded with \"xmlFile\". Versions 1.0, 2.0 and 2.1.x 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. Version 2.1.x contains the same profiles as version 2.0 and additionally defines the profile \"X-Rechnung\". List of versions with the corresponding profiles: * v10Comfort * v20Minimum * v20BasicWL * v20Basic * v20EN16931 * v20Extended * v21Minimum * v21BasicWL * v21Basic * v21EN16931 * v21Extended * v21XRechnung
        Returns:
        version
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object