Class DocumentFetchRequestMetadata


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

      • DocumentFetchRequestMetadata

        public DocumentFetchRequestMetadata()
    • 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)
      • 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 DocumentFetchRequestMetadata
      • fromJson

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

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