Class FetchDocumentsRequestMetadata


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class FetchDocumentsRequestMetadata
    extends Object
    FetchDocumentsRequestMetadata
    • Constructor Detail

      • FetchDocumentsRequestMetadata

        public FetchDocumentsRequestMetadata()
    • Method Detail

      • getWorkflowId

        @Nonnull
        public String getWorkflowId()
        Specifies a unique ID for this workflow.
        Returns:
        workflowId
      • setWorkflowId

        public void setWorkflowId​(String workflowId)
      • getDataFormat

        @Nonnull
        public String getDataFormat()
        Specifies the data format for this workflow
        Returns:
        dataFormat
      • setDataFormat

        public void setDataFormat​(String dataFormat)
      • getDataFormatVersion

        @Nonnull
        public BigDecimal getDataFormatVersion()
        Specifies the data format version number
        Returns:
        dataFormatVersion
      • setDataFormatVersion

        public void setDataFormatVersion​(BigDecimal dataFormatVersion)
      • getOutputDataFormat

        @Nonnull
        public String getOutputDataFormat()
        Specifies the format of the output document to be generated for the recipient. This format should be chosen based on the recipient's preferences or requirements as defined by applicable e-invoicing regulations. When not specified for mandates that don't require a specific output format, the system will use the default format defined for that mandate.
        Returns:
        outputDataFormat
      • setOutputDataFormat

        public void setOutputDataFormat​(String outputDataFormat)
      • getOutputDataFormatVersion

        @Nonnull
        public BigDecimal getOutputDataFormatVersion()
        Specifies the version of the selected output document format
        Returns:
        outputDataFormatVersion
      • setOutputDataFormatVersion

        public void setOutputDataFormatVersion​(BigDecimal outputDataFormatVersion)
      • getCountryCode

        @Nonnull
        public String getCountryCode()
        The two-letter ISO-3166 country code for the country for which document is being retrieved
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(String countryCode)
      • getCountryMandate

        @Nonnull
        public String getCountryMandate()
        The e-invoicing mandate for the specified country
        Returns:
        countryMandate
      • setCountryMandate

        public void setCountryMandate​(String countryMandate)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to FetchDocumentsRequestMetadata
      • fromJson

        public static FetchDocumentsRequestMetadata fromJson​(String jsonString)
                                                      throws IOException
        Create an instance of FetchDocumentsRequestMetadata given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FetchDocumentsRequestMetadata
        Throws:
        IOException - if the JSON string is invalid with respect to FetchDocumentsRequestMetadata
      • toJson

        public String toJson()
        Convert an instance of FetchDocumentsRequestMetadata to an JSON string
        Returns:
        JSON string