IPWorks EDI 2020 macOS Edition

Questions / Feedback?

EDIAttachment Type

This describes the file being attached.

Remarks

Information about the file's location that is being attached to the message is contained here.

Fields

contentType
String

The MIME content-type of this EDIAttachment.

dataB
Data

This property contains the attachment data.

In a receiver, the class decodes the attachment to the Data property when Data's value is first queried. This property will contain the full decrypted text of the attachment.

data
String

This property contains the attachment data.

In a receiver, the class decodes the attachment to the Data property when Data's value is first queried. This property will contain the full decrypted text of the attachment.

filename
String

The file name of the attachment. If IncomingDirectory has been specified, the attachment will be written to the specified directory and the name will be provided by this property. Otherwise, this will contain the name of the attachment as described in the Headers.

headers
String

The class fills out Headers each time any of the other properties for that EDIAttachment are changed. If additional headers are needed they should be appended after all the other propertys for that EDIAttachment are set.

name
String

Name is the final name to be associated with the contents of either the Data or Filename properties. This corresponds to the filename attribute of the Content-Disposition header for this attachment.

Constructors

public init()
public init(filename: String)
public init(filename: String, contentType: String)
public init(filename: String, contentType: String, headers: String)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 macOS Edition - Version 20.0 [Build 8203]