Class DocumentSummary


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class DocumentSummary
    extends Object
    Displays a summary of information about the document
    • Constructor Detail

      • DocumentSummary

        public DocumentSummary()
    • Method Detail

      • getId

        @Nullable
        public String getId()
        The unique ID for this document
        Returns:
        id
      • setId

        public void setId​(String id)
      • getCompanyId

        @Nullable
        public String getCompanyId()
        Unique identifier that represents the company within the system.
        Returns:
        companyId
      • setCompanyId

        public void setCompanyId​(String companyId)
      • getProcessDateTime

        @Nullable
        public String getProcessDateTime()
        The date and time when the document was processed, displayed in the format YYYY-MM-DDThh:mm:ss
        Returns:
        processDateTime
      • setProcessDateTime

        public void setProcessDateTime​(String processDateTime)
      • getStatus

        @Nullable
        public String getStatus()
        The Document status
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
      • getSupplierName

        @Nullable
        public String getSupplierName()
        The name of the supplier in the transaction
        Returns:
        supplierName
      • setSupplierName

        public void setSupplierName​(String supplierName)
      • getCustomerName

        @Nullable
        public String getCustomerName()
        The name of the customer in the transaction
        Returns:
        customerName
      • setCustomerName

        public void setCustomerName​(String customerName)
      • getDocumentType

        @Nullable
        public String getDocumentType()
        The document type
        Returns:
        documentType
      • setDocumentType

        public void setDocumentType​(String documentType)
      • getDocumentVersion

        @Nullable
        public String getDocumentVersion()
        The document version
        Returns:
        documentVersion
      • setDocumentVersion

        public void setDocumentVersion​(String documentVersion)
      • getDocumentNumber

        @Nullable
        public String getDocumentNumber()
        The document number
        Returns:
        documentNumber
      • setDocumentNumber

        public void setDocumentNumber​(String documentNumber)
      • getDocumentDate

        @Nullable
        public String getDocumentDate()
        The document issue date
        Returns:
        documentDate
      • setDocumentDate

        public void setDocumentDate​(String documentDate)
      • getFlow

        @Nullable
        public String getFlow()
        The document direction, where issued = `out` and received = `in`
        Returns:
        flow
      • setFlow

        public void setFlow​(String flow)
      • getCountryCode

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

        public void setCountryCode​(String countryCode)
      • getCountryMandate

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

        public void setCountryMandate​(String countryMandate)
      • getInterface

        @Nullable
        public String getInterface()
        The interface where the document is sent
        Returns:
        _interface
      • setInterface

        public void setInterface​(String _interface)
      • getReceiver

        @Nullable
        public String getReceiver()
        The document recipient based on the interface
        Returns:
        receiver
      • setReceiver

        public void setReceiver​(String receiver)
      • 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 DocumentSummary
      • fromJson

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

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