Class ICAttachmentDTO
java.lang.Object
de.aeb.xnsg.customs.dto.declaration.ICAttachmentDTO
DTO to hold attachment data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCode of the attachment.
When adding external attachments the attachmentCode must be filled a with filename.Customs process, if the attachment belongs only to one specific process.byte[]Attachment data.Description of the document.
Only used when attachments are returned by ICI.Media Type (Also known as MIME type and subtype) of the file.Count of the documents revision.
Only used when attachments are returned by ICI.Attachment status.
Only used when attachments are returned by ICI. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
attachmentCode
Code of the attachment.
When adding external attachments the attachmentCode must be filled a with filename.length=250
-
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[] dataAttachment data. -
statusCode
Attachment status.
Only used when attachments are returned by ICI.length=20
-
description
Description of the document.
Only used when attachments are returned by ICI.length=250
-
revisionCount
Count of the documents revision.
Only used when attachments are returned by ICI.length=10
-
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()
-