Class ICAttachmentDTO

java.lang.Object
de.aeb.xnsg.customs.dto.declaration.ICAttachmentDTO

public class ICAttachmentDTO extends Object
DTO to hold attachment data.
  • Field Details

    • attachmentCode

      public String attachmentCode
      Code of the attachment.
      When adding external attachments the attachmentCode must be filled a with filename.

      length=250

    • customsProcess

      public String customsProcess
      Customs process, if the attachment belongs only to one specific process. Only used for incoming calls.
      • 'EXPORT_BE' - Export process for Belgium
      • 'EXPORT_SE' - Export process for Sweden
      • 'EXPORT_NL' - Export process for Netherlands
      • 'TRANSIT_NL' - Transit process for Netherlands
      • '... for full list see /InternationalCustomsBFBean/getCodes with codeListCode=CUSTOMS_PROCESS_TYPE
      • *

      length=20

    • data

      public byte[] data
      Attachment data.
    • statusCode

      public String statusCode
      Attachment status.
      Only used when attachments are returned by ICI.

      length=20

    • description

      public String description
      Description of the document.
      Only used when attachments are returned by ICI.

      length=250

    • revisionCount

      public Integer revisionCount
      Count of the documents revision.
      Only used when attachments are returned by ICI.

      length=10

    • mediaType

      public String mediaType
      Media Type (Also known as MIME type and subtype) of the file. Standard MIME types are to be used, for example:
      • application/pdf
      • application/xml
      • text/html
      • image/png
      • image/jpeg

      length=255

  • Constructor Details

    • ICAttachmentDTO

      public ICAttachmentDTO()